Hi,
Well,
this how configured the job :
and this is the ansible step extra vars :
"-i ${file.inventory.fileName}" -e "vc_username=${option.vc_username} vc_password=${option.vc_password}"
what obtain right now is :
| [WARNING]: Unable to parse /etc/ansible/ vm_hosts as an inventory source |
| 17:12:10 | [WARNING]: No inventory was parsed, only implicit localhost is available |
| 17:12:10 | [WARNING]: provided hosts list is empty, only localhost is available. Note |
| 17:12:10 | that the implicit localhost does not match 'all' |
| 17:12:11 |
|
| 17:12:11 | PLAY [Create a VM from a template] ********************************************* |
| 17:12:11 | skipping: no hosts matched |
| 17:12:11 |
|
| 17:12:11 | PLAY RECAP ********************************************************************* |
| 17:12:11 |
|
Also obtain this one if i create a shell script inline
But if i run by shell works.
What im trying to implement is :
Passing via option file type the ansible inventory for provisioning multi vmware vm
This is means that ansible need to connect locally / rundeck node /localhost.
Thank you