Not sure why, but I get this error while trying to run my first playbook…
[wes@mgmt001 playbooks]$ ansible-playbook nrpe.yml
PLAY [all] ****************************
SETUP PHASE ****************************
ok: [testansible.dal05.domain.com]
ERROR: hosts declaration is required
I’m new to yaml, but I don’t understand why I’m experiencing this issue (and Ansible seems to get the ‘testansible’ host, at least partially).