That might be what I'm looking for, but I'm not sure.
I want to be able to run a playbook (*not* in check_mode), but tell one
task to run *only* in check_mode.
Currently, if you run in check_mode, setting `always_run: true` on a task
makes that task run as if it is not in check_mode. I want the opposite of
this.
I want to be able to run:
ansible-playbook stuff.yml
stuff.yml
---
- name: stuff
hosts: things
tasks:
- name: Apply awesome sauce
awesome: a=b c=d
- name: pretend to do something
something: a=b c=d
check_mode: true
--
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/12eb87ec-af70-4327-b761-bcfefa35e734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.