On 21/05/14 06:24, Andrew Pashkin wrote:
> I want to make my playbook in a way where process will fail with an
> error if user was not provided required parameters, what is the way to
> do that in Ansible?
>
>From http://docs.ansible.com/playbooks_conditionals.html
- fail: msg="Bailing out. this play requires 'bar'"
when: bar is not defined
my 2¢
--
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/537C5C10.907%40faita.net.
For more options, visit https://groups.google.com/d/optout.