Ansible vsphere_guest error -
i try auto create vm can code working ... able create 20 vm on fly! upgrade ansible ansible 1.8.4 configured module search path = none to
ansible 1.9.0.1 configured module search path = none
as upgrade pysphere 0.1.7 0.1.8 (pysphere-0.1.8-py2.7.egg-info) reason upgrade relocate()
function in 0.1.8.
so try run ansible code , error
failed: [host1] => {"failed": true} msg: unsupported parameter module: username tasks: - debug: var=vm - name: gather vm facts vsphere_guest: vcenter_hostname: vcenter name password: pass username: user guest: ansible vmware_guest_facts: yes
remote_module vsphere_guest vcenter_hostname=xxxxxxxxx guest=ansible password=value_hidden username= <------ missing !!!! why ??
i install new server , go old version: same issue … how can more detail log?
what missing?
thanks noam
ok fix ! yes idiot ! 50% :)
by default ansible try find folder named library in folder put new module , download vsphere_guest.py site , ansible use ! issue dont understand why in run can see module url or url :)
case closed many
Comments
Post a Comment