Merge pull request #2195 from tbielawa/NOOP

First try and making the nagios module NOOPpable
reviewable/pr18780/r1
Michael DeHaan 13 years ago
commit bc1f7102d9

@ -185,6 +185,9 @@ def main():
################################################################## ##################################################################
ansible_nagios = Nagios(module, **module.params) ansible_nagios = Nagios(module, **module.params)
if self.check_mode:
module.exit_json(changed=True)
else:
ansible_nagios.act() ansible_nagios.act()
################################################################## ##################################################################

Loading…
Cancel
Save