[ansible-devel] checking for `--check` inside callback module

2017-08-08 Thread anand . patel
Hi I am creating a custom callback module and I want it to have different behavior when in `check` 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 `--check` is enabl

[ansible-devel] Re: checking for `--check` inside callback module

2017-08-08 Thread anand . patel
nevermind, found it https://groups.google.com/forum/#!searchin/ansible-devel/check$20mode%7Csort:relevance/ansible-devel/41dc3EnZ7eM/le03tWvBBQAJ On Tuesday, August 8, 2017 at 11:34:24 AM UTC-7, anand...@mulesoft.com wrote: > > Hi I am creating a custom callback module and I want it to have dif