Hi, I am learning to use Ansible, and am at the stage of pinging a remote host, an AWS EC2 instance in this case.
However, when I run ansible ping I get no output, as below: $ ssh ec2-user@ec2-DNS This system is not registered to Red Hat Insights. See https://cloud.redhat.com/ To register this system, run: insights-client --register Last login: Fri Sep 11 15:10:27 2020 from **.**.**.** [ec2-user@ip-bla ~]$ logout Connection to ec2-DNS closed. $ ls ansible.cfg hosts $ ansible -m ping all $ Any ideas what I may be causing this? I have my ec2-DNS defined in my hosts file, and in ansible.cfg inventory is pointing at hosts in the current working directory. I also have remote_user = ec2-user in ansible.cfg Thanks in advance, Eoghan -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/80389fdf-89db-4acb-b0bc-b2809f3239a6n%40googlegroups.com.
