Add check_mode support to HipChat module
The HipChat module declares to support check_mode, but the message is sent in any case. With this, if executed in check mode, the module will exit before actually sending the message to HipChat. It will return changed=False, as per the convention for notifications modules.
This commit is contained in:
parent
43687f1940
commit
ae5fed65f2
1 changed files with 154 additions and 1 deletions
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue