Changed_when with the same conditional as used on the when will basically do that.
It's definitely a minority use case, but it will work. On Wed, Dec 3, 2014 at 4:28 AM, Yvo van Beek <[email protected]> wrote: > Changed_when will report the task never as changed right? > My goal is to to use "when", but to report it as "ok" or "changed", but > never as "skipped". > > > On Wednesday, December 3, 2014 3:42:21 AM UTC+11, Michael DeHaan wrote: >> >> changed_when: False >> >> >> >> On Tue, Dec 2, 2014 at 12:10 AM, Yvo van Beek <[email protected]> wrote: >> >>> With regards to point 5, I noticed that Ansible 1.8.1 no longer reports >>> "creates=" as "skipped". So that's great. Is there an option we can use to >>> report "when:" as "ok" too? >>> >>> -- >>> 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/6e5e403e-959e-43c0-a087- >>> 982f1405641c%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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/382ba164-1186-4180-a7e9-4bd676fb1aef%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/382ba164-1186-4180-a7e9-4bd676fb1aef%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgyBb%3DwTHk0hu7X3hcSbhwMMhxwCoHkAgJ_3hn1MHrbqTw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
