Hi All,
I am successfully configured ansible in my laptop I am new to the ansible
when I run ansible all -a “/bin/echo hello” command I am getting
command not found error
can you please explain the reason ??
rajendar@HP-EliteBook:~$ ansible --version
ansible 2.5.1
config file = /etc/ansible/ansible.cfg
ajendar@HP-EliteBook:~$ ansible all -m ping
[DEPRECATION WARNING]: DEFAULT_SUDO_USER option, In favor of Ansible Become, which is a generic framework. See become_user. , use become instead. This feature will be
removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
192.168.99.100 | SUCCESS => {
“changed”: false,
“ping”: “pong”
Thanks
Rajendar