Chapter 8 Data Models and Dynamic Templates

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 160
retry_files_enabled = False 
forks=3 
filter_plugins=../../filter_plugins

For more information about ansible.cfg, and Ansible configuration in general, please visit: https://docs.ansible.com/ansible/2.7/reference_appendices/config.html Once this file is created it is now possible to write and execute Ansible playbooks. Three Ansible playbook examples will be demonstrated: one for automated documentation and two different versions of the same playbook (an assembled and a granular master configuration management playbook).

Task Orchestration Following best practices on the network can lead to simplified task orchestration. Select the more optimized order of task operation and execution for playbooks and avoid wasting time running redundant or unnecessary code at various logical points in the network. If DHCP, for example, will only be hosted at the distribution layer, orchestrate the code to only run the DHCP tasks against the distribution hosts.