IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
56 stars 54 forks source link

No inventory was parsed, only implicit localhost is available #81

Closed mad5bo closed 3 years ago

mad5bo commented 3 years ago

hi, Trying to issue the following command, the next message is displayed image However, changing the directory and path where the ansible.cfg and hosts_ibmi.ini resides, the issued commands run succesfully image Is there a manner to run ansible commands from outside the directory where ansible.cfg and hosts file resides? This is a case with Ansible controller installed and configured on IBM i.

LiJunBJZhu commented 3 years ago

Run "ansible -m ping all -i " instead.

mad5bo commented 3 years ago

Thanks!