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:
parent
6988ccf940
commit
aa7ea10826
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
action = module.params['action']
|
action = module.params['action']
|
||||||
|
host = module.params['host']
|
||||||
minutes = module.params['minutes']
|
minutes = module.params['minutes']
|
||||||
services = module.params['services']
|
services = module.params['services']
|
||||||
cmdfile = module.params['cmdfile']
|
cmdfile = module.params['cmdfile']
|
||||||
|
|
Loading…
Reference in a new issue