Chapter 5 Repository Structure
For diagrams, tables, or exact code formatting, .
----Tactical_Playbooks
|
---- (Output from tactical plays)
----Recon_Playbooks
|
---- (Output from recon plays)
---- big_ip
filter_plugins
The filter_plugins folder is part of the Ansible framework and is a place to store Ansible plug-ins.
Ansible plug-ins include Python files that enhance the default capabilities and augment Ansible’s core
functionality. Write custom plug-ins in Python and store them here.A complete guide to Ansible plug-ins is available here: https://docs.ansible.com/ansible/2.7/plugins/plugins.html
group_vars The group_vars folder contains the data models applied to groups of devices found in the hosts.ini file. This folder contains YAML files created to contain data models. group_vars folder matching the sample hosts.ini file are as follows:
group_vars
|
---- ENTERPRISE.yml|
---- CAMPUS.yml
---- CAMPUS-CORE.yml
---- CAMPUS-DISTRIBUTION.yml
---- CAMPUS-ACCESS.yml
---- CAMPUS-ACCESS-3850.yml
---- CAMPUS-ACCESS-3750.yml
---- DATA-CENTER.yml
---- DATA-CENTER-7K.yml
---- DATA-CENTER-5K.yml
---- WAN.yml
---- WAN-ISR.yml
---- WAN-ACCESS.yml
---- DMZ.ymlhost_vars The hosts_vars, similar to the group_vars_ folder, contains the data models that apply to each individual device or host in the hosts.ini file. This folder again contains YAML files, but in addition a file per-device using the device’s hostname is created. host_vars folder matching the sample hosts.ini file is as follows:
hosts_vars | ---- CORE.yml ---- DIST01.yml
