local_action calling python script in ansible 2.1

66 views
Skip to first unread message

Mohan L

unread,
Jul 22, 2016, 1:09:27 PM7/22/16
to Ansible Project

Hi All,

I am using the below code with Ansible 1.9 and works well:

- name: Gether Info 
  local_action: Infos.py host={{ hostname }} user={{ username }} password={{ mypassword }} vm_name={{ myhostname }}

All the above variables coming from Ansible Vault file.  I upgraded my Ansible version to 2.1 and it is not working.  Can some one through light on the issue?

Thanks
Mohan L
Reply all
Reply to author
Forward
0 new messages