Ansible gather_facts
module, new in Ansible 2.8, allows to gather useful variables about remote hosts that can be used in playbooks
See also
edit- DevOps/Ansible/Playbooks
- Ansible
setup
module: https://docs.ansible.com/ansible/latest/modules/setup_module.html