There's currently no magic variable set when a playbook is in check mode
that "failed_when" could key off of.

I'm open to it.




On Thu, Nov 28, 2013 at 10:10 PM, Eric Chaves <[email protected]> wrote:

> Hi people,
>
> Some modules when running in check-mode still raising errors in certain
> conditions. For example, the service module fails when the service is not
> found, which is usually installed in a previous task on the playbook, which
> is kind of annoying. On the other hand, I understand that ansible should
> not ignore errors in check mode as rule, but I was wondering if I could set
> some specific tasks in the playbook to ignore errors when running in
> check-mode.
>
> Is something like this possible?
>
> Best regards,
>
> Eric
>
>  --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to