Chapter 10 Configuration Management

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 176

One way to help limit the playbook, given only DIST01.yml has changes, is to use the – limit option on the playbook reducing the scope to just this device:

ansible-playbook configure-campus.yml –v –limit DIST01.yml 
 
TASK [Create IOS Global configuration] *********************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS Management Source VLANs] ******************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS Archives]************************************************************ 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS Default Gateways] *************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS SNMP]************************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS ACLs]*************************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS MCQ QoS]*********************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS AAA RSA configuration] ********************************************** 
ok: [DIST01] => {"changed": false} 
 
PLAY [CAMPUS-CORE-DIST] ************************************************************** 
 
TASK [Create IOS VSL Links] ********************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS VRF configuration] ************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS VRF List configuration] ********************************************* 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS OSPF] ************************************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS Multicast configuration] ******************************************** 
ok: [DIST01] => {"changed": false} 
 
TASK [Create IOS Platform Interface - Dual Active Detection - configuration] ********* 
ok: [DIST01] => {"changed": false} 
 
PLAY [CAMPUS] ************************************************************************ 
 
TASK [Create IOS VLAN configuration] ************************************************* 
 
changed: [DIST01] => {"banners": {}, "changed": true, "commands": ["vlan 3999", "name 
Demo_vlan"], "updates": ["vlan 3999", "name Demo_vlan"]}