1
0
Fork 0
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:
Michael DeHaan 2012-08-27 22:06:14 -04:00
parent 3299485d9b
commit 3830b2ce1d

View file

@ -106,21 +106,6 @@ Examples from :doc:`playbooks`::
action: nagios action=unsilence host=$inventory_hostname
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**
The nagios module may not operate for you out of the box. The most