mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove part about module config file as I don't want to encourage modules to take configuration files.
This commit is contained in:
parent
3299485d9b
commit
3830b2ce1d
1 changed files with 0 additions and 15 deletions
|
@ -106,21 +106,6 @@ Examples from :doc:`playbooks`::
|
||||||
action: nagios action=unsilence host=$inventory_hostname
|
action: nagios action=unsilence host=$inventory_hostname
|
||||||
delegate_to: nagios.example.com
|
delegate_to: nagios.example.com
|
||||||
|
|
||||||
**Optional Configuration**
|
|
||||||
|
|
||||||
If your nagios **cmdfile** is not ``/var/spool/nagios/cmd/nagios.cmd``
|
|
||||||
you can configure ansible (on your nagios server) to use the correct
|
|
||||||
one by making a file called ``/etc/ansible/modules/nagios.conf`` that
|
|
||||||
looks like this:
|
|
||||||
|
|
||||||
.. code-block:: ini
|
|
||||||
|
|
||||||
[main]
|
|
||||||
cmdfile = /path/to/your/nagios.cmd
|
|
||||||
|
|
||||||
Or, use the **cmdfile** parameter to set it explicitly.
|
|
||||||
|
|
||||||
|
|
||||||
**Troubleshooting Tips**
|
**Troubleshooting Tips**
|
||||||
|
|
||||||
The nagios module may not operate for you out of the box. The most
|
The nagios module may not operate for you out of the box. The most
|
||||||
|
|
Loading…
Reference in a new issue