1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

"nagios" module: fix NameError/'host' not defined

Add missing 'host' variable, which is read a few lines later on in some cases.
This commit is contained in:
Bernhard Weitzhofer 2013-03-17 11:31:13 +01:00
parent 6988ccf940
commit aa7ea10826

View file

@ -167,6 +167,7 @@ def main():
)
action = module.params['action']
host = module.params['host']
minutes = module.params['minutes']
services = module.params['services']
cmdfile = module.params['cmdfile']