Skip to content

Commit

Permalink
docs: Add a note about package requirements for fact gathering (ansib…
Browse files Browse the repository at this point in the history
…le#70796)

Fixes: ansible#26148

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde committed Aug 3, 2020
1 parent 864573a commit a6725d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/docsite/rst/user_guide/playbooks_vars_facts.rst
Expand Up @@ -491,6 +491,15 @@ To reference the system hostname::

You can use facts in conditionals (see :ref:`playbooks_conditionals`) and also in templates. You can also use facts to create dynamic groups of hosts that match particular criteria, see the :ref:`group_by module <group_by_module>` documentation for details.

.. _fact_requirements:

Package requirements for fact gathering
---------------------------------------

On some distros, you may see missing fact values or facts set to default values because the packages that support gathering those facts are not installed by default. You can install the necessary packages on your remote hosts using the OS package manager. Known dependencies include:

* Linux Network fact gathering - Depends on the ``ip`` binary, commonly included in the ``iproute2`` package.

.. _fact_caching:

Caching facts
Expand Down

0 comments on commit a6725d6

Please sign in to comment.