From 938199e34a9f091771fd4d934052231224389913 Mon Sep 17 00:00:00 2001 From: Brian Scholer <1260690+briantist@users.noreply.github.com> Date: Fri, 18 Dec 2020 12:25:18 -0500 Subject: [PATCH] gather_facts - Add link to docs on how to configure facts modules (#72271) * Add link to docs on how to configure facts modules * Remove unrendered markup from examples * Update link to relative reference --- lib/ansible/modules/gather_facts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/gather_facts.py b/lib/ansible/modules/gather_facts.py index a019d8350cc..42a463b71a0 100644 --- a/lib/ansible/modules/gather_facts.py +++ b/lib/ansible/modules/gather_facts.py @@ -13,7 +13,7 @@ module: gather_facts version_added: 2.8 short_description: Gathers facts about remote hosts description: - - This module takes care of executing the configured facts modules, the default is to use the M(ansible.builtin.setup) module. + - This module takes care of executing the R(configured facts modules,FACTS_MODULES), the default is to use the M(ansible.builtin.setup) module. - This module is automatically called by playbooks to gather useful variables about remote hosts that can be used in playbooks. - It can also be executed directly by C(/usr/bin/ansible) to check what variables are available to a host. - Ansible provides many I(facts) about the system, automatically. @@ -38,6 +38,6 @@ RETURN = """ """ EXAMPLES = """ -# Display facts from all hosts and store them indexed by I(hostname) at C(/tmp/facts). +# Display facts from all hosts and store them indexed by hostname at /tmp/facts. # ansible all -m gather_facts --tree /tmp/facts """