Skip to content

Commit

Permalink
Add Ansible facts documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Apr 20, 2017
1 parent 54eedcb commit 2215864
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _checkmk_agent__ref_changelog:

Changelog
=========

Expand Down Expand Up @@ -30,6 +32,8 @@ Added
- Automatically enable the ``smart`` Check_MK agent plugin on physical hosts to
query Self-Monitoring, Analysis and Reporting data from disks. [ypid_]

- Add :ref:`checkmk_agent__ref_ansible_facts` documentation. [ypid_]

Changed
~~~~~~~

Expand Down
31 changes: 31 additions & 0 deletions docs/facts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.. _checkmk_agent__ref_ansible_facts:

Ansible facts
=============

.. include:: includes/all.rst

The role exposes part of it’s state by means of Ansible local facts for other
roles and playbooks to use.
The interface is considered public and changes to it happen in compliance with
`Semantic Versioning`_ of the role and will be mentioned in the :ref:`checkmk_agent__ref_changelog`.
Here you can find documentation and examples for them.

Specification
-------------

``checkmk_agent.plugins``
List of all Check_MK Agent plugin names which are enabled (and configured if
necessary) by the role. Refer to :envvar:`checkmk_agent__plugins` and related
variables for details.

Availability: Always, after ``debops-contrib.checkmk_agent/env`` has been run.

Example
-------

.. code-block:: json
{
"plugins": ["nginx_status"]
}
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Ansible role: debops-contrib.checkmk_agent
getting-started
defaults
defaults-detailed
facts
copyright
changelog

Expand Down

0 comments on commit 2215864

Please sign in to comment.