Could not match supplied host pattern,

8 views
Skip to first unread message

Mahender Tirumala

unread,
Mar 18, 2019, 7:00:53 PM3/18/19
to Ansible Project
hi,

iam getting this error when iam trying to ping my ec2 machines, iam able to do ec2.py --list, Please help

ansible -m ping tag_Name_dev2--IC-OCR-MACHINES
[DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as it can be a list of hosts and/or paths to inventory sources , use
ANSIBLE_INVENTORY instead. This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
 [WARNING]: Could not match supplied host pattern, ignoring: tag_Name_dev2--IC-OCR-MACHINES

 [WARNING]: No hosts matched, nothing to do

Reply all
Reply to author
Forward
0 new messages