display reason for skipping a task

2,514 views
Skip to first unread message

Matt Bone

unread,
Aug 29, 2013, 1:08:05 PM8/29/13
to ansible...@googlegroups.com
I was wondering if anyone has thought about letting ansible display the reason it's skipping a task in playbook. For example, I often run my playbooks with '--check -diff' and it would be neat to see if a task is being skipped because of a conditional or because the module doesn't support check mode.

Is this something that's even implementable?

Thanks,
--matt

James Cammarata

unread,
Aug 29, 2013, 1:18:16 PM8/29/13
to ansible...@googlegroups.com
Feel free to open an issue on github, if -v doesn't show the reason why it's skipped it might make sense to add it there.


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



--

James Cammarata <jcamm...@ansibleworks.com>
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/

Michael DeHaan

unread,
Aug 29, 2013, 8:24:26 PM8/29/13
to ansible...@googlegroups.com
It's technically implementable but will need to be done in such a way it doesn't break the signature of any existing callbacks.
Michael DeHaan <mic...@ansibleworks.com>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

Reply all
Reply to author
Forward
0 new messages