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