Difference between revisions of "Gather facts"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== See also ==
 
== See also ==
* [[Playbooks]]
 
 
* Ansible <code>setup</code> module: https://docs.ansible.com/ansible/latest/modules/setup_module.html
 
* Ansible <code>setup</code> module: https://docs.ansible.com/ansible/latest/modules/setup_module.html
 +
* {{Ansible modules}}
 
* {{Ansible}}
 
* {{Ansible}}
  
 
[[Category:Ansible]]
 
[[Category:Ansible]]
 
[[Category:Server administration]]
 
[[Category:Server administration]]

Revision as of 09:19, 29 April 2020

Ansible gather_facts module, new in Ansible 2.8, allows to gather useful variables about remote hosts that can be used in playbooks


gather_facts: no
gather_facts: yes
TASK [Gathering Facts] *********************************************************************************************************
ok: [SERVER_NAME]


See also

Advertising: