Checking for `--check` or `--dry-run` inside callback module
9 views
Skip to first unread message
anand...@mulesoft.com
unread,
Aug 7, 2017, 4:55:43 PM8/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi I am creating a custom callback module and I want it to have different behavior when in `check` or `dry-run` mode. However I have not found a way to detect this, is there a way for me to tell as a callback plugin if we are running in check mode?
The goal is to only run this module when dry-run or check is enabled.
Kai Stian Olstad
unread,
Aug 8, 2017, 9:00:12 AM8/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message