Is it possible to configure Ansible to fail early if a *hosts:* value is incorrect, i.e. doesn't match a target machine in the inventory?
If the *hosts: *value is undefined like this: - name: Test module(s) hosts: Then Ansible throws this: "ERROR! the field 'hosts' is required but was not set" I am wondering if similar behaviour can be configured if the *hosts: *value is misconfigured. -- 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/99cf40da-3027-438f-b926-5d35851e2ebd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
