I have a master playlist, global.yml, in which I specified hosts, become,
and includes for different OSes That worked fine until I went to add
handlers. In my included playbooks, I did something like:
- handlers
- name: handler 1
etc etc
- tasks:
- name: Task 1
etc etc
At that point, I'm getting complaints about "ERROR! the field 'hosts' is
required but was not set" Moving hosts statements to the included
playbooks hasn't helped. I'm certain I've gotten lost in dashes and no
dashes and indentation. Or am i just going about this the wrong way?
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/692e157e-43d5-4008-9413-e23d1e5b5cc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.