Talk:Ansible: Difference between revisions

Line 269:
Check the facts:
ansible -i inventory servers -m setup -a 'filter=ansible_local'
 
= Inclusions =
 
* These make it easy to create a modular Ansible Setup.
* Main variables can be set in the master Ansible file, generic tasks can be defined in included files.
* Tasks can be included in a playbook from external YAML file using '''include''' directive.
* Varibles can be included from YAML or JSON file using '''include_vars''' directive.