mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #2430 from b6d/nagios-module-icingacfg
nagios module: add common locactions of icinga.cfg
This commit is contained in:
@@ -128,7 +128,11 @@ def which_cmdfile():
|
||||
'/usr/local/nagios/etc/nagios.cfg',
|
||||
'/usr/local/nagios/nagios.cfg',
|
||||
'/opt/nagios/etc/nagios.cfg',
|
||||
'/opt/nagios/nagios.cfg'
|
||||
'/opt/nagios/nagios.cfg',
|
||||
# icinga on debian/ubuntu
|
||||
'/etc/icinga/icinga.cfg',
|
||||
# icinga installed from source (default location)
|
||||
'/usr/local/icinga/etc/icinga.cfg',
|
||||
]
|
||||
|
||||
for path in locations:
|
||||
|
||||
Reference in New Issue
Block a user