Difference between revisions of "Gather facts"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://docs.ansible.com/ansible/latest/modules/gather_facts_module.html | * https://docs.ansible.com/ansible/latest/modules/gather_facts_module.html | ||
+ | |||
+ | gather_facts: no | ||
+ | gather_facts: yes | ||
Revision as of 01:53, 26 March 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
See also
- Playbooks
- Ansible
setup
module: https://docs.ansible.com/ansible/latest/modules/setup_module.html - Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: