mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2430 from b6d/nagios-module-icingacfg
nagios module: add common locactions of icinga.cfg
This commit is contained in:
commit
7be78d503c
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue