parent
058feb47c2
commit
bee443c983
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def main():
|
||||||
module.fail_json(msg='no command passed for command action')
|
module.fail_json(msg='no command passed for command action')
|
||||||
##################################################################
|
##################################################################
|
||||||
if not cmdfile:
|
if not cmdfile:
|
||||||
module.fail_json('unable to locate nagios.cfg')
|
module.fail_json(msg='unable to locate nagios.cfg')
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
ansible_nagios = Nagios(module, **module.params)
|
ansible_nagios = Nagios(module, **module.params)
|
||||||
|
|
Loading…
Reference in a new issue