Hi,

Is there a way, without modifying the playbooks, to make
ansible-playbook stop at/after the first change but carry on through
any tasks that don't make changes?

My intent is to run it in --check and --diff mode against
infrastructure to see that all the nodes are correctly configured,
but if there is any change outstanding it's going to stop and show
me what the change is without doing it.

I know I can step through every action choosing to do it or not, but
this steps through even actions that are not going to make any
change.

Just --check by itself of course will prevent any change being made
so that is the nearest thing to a solution I have so far, but it
carries on through the whole playbook. There's pages of output when
in this instance my main interest is "is there any change to be made
at all?"

Thanks,
Andy

-- 
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/20190613102143.GU4569%40bitfolk.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to