ansible.builtin.setup – Gathers facts about remote hosts ...
docs.ansible.com › ansible › latest# Display facts from all hosts and store them indexed by I(hostname) at C(/tmp/facts). # ansible all -m ansible.builtin.setup --tree /tmp/facts # Display only facts regarding memory found by ansible on all hosts and output them. # ansible all -m ansible.builtin.setup -a 'filter=ansible_*_mb' # Display only facts returned by facter. # ansible all -m ansible.builtin.setup -a 'filter=facter ...
Sample Ansible setup — Ansible Documentation
docs.ansible.com › ansible › latestDec 21, 2021 · Sample Ansible setup You have learned about playbooks, inventory, roles, and variables. This section pulls all those elements together, outlining a sample setup for automating a web service. You can find more example playbooks illustrating these patterns in our ansible-examples repository. (NOTE: These may not use all of the features in the ...