Ansible: Could not match supplied host pattern, ignoring: web

3.39K viewsAnsibleansible ansible-playbook playbook

Ansible: Could not match supplied host pattern, ignoring: web

I am getting this error while executing a playbook

[WARNING]: Could not match supplied host pattern, ignoring: web
[WARNIGN]: No hosts matched, nothing to do

Share:
hiberstackers Answered question February 24, 2021
0

Check the group name in the inventory file if it is web or something else. Enter the correct name in the ansible command and the issue should be resolved.

Share:
hiberstackers Answered question February 24, 2021
0