[WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] TASK [Find device readiness script] ******************************************** ok: [dut] ok: [x1] TASK [Wait for device to become ready] ***************************************** skipping: [dut] skipping: [x1] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] ok: [x1] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] ok: [x1] => msg: |- normalize configuration for x1 ========================================= ! interface Ethernet1 shutdown mac-address 52dc.cafe.0201 TASK [Deploy normalize configuration] ****************************************** skipping: [dut] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [eos_config: deploying normalize from /home/pipi/net101/tools/netsim/ansible/templates/normalize/eos.j2] *** [WARNING]: To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device including the indentation changed: [x1] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] ok: [x1] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- initial configuration for dut ========================================= hostname dut ! lldp ! ! vlan 42 name red ! ! ! interface mgmt no lldp transmit no lldp receive ! interface loopback 0 ip address 10.0.0.1/32 ! interface 1/1/1 shutdown mtu 9198 description [Access VLAN red] dut -> x1 no shutdown ! interface vlan42 description VLAN red (42) -> [x1] ! ! ok: [x1] => msg: |- initial configuration for x1 ========================================= hostname x1 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing no ipv6 unicast-routing ! ! ip host dut 10.0.0.1 ! interface Management1 no lldp transmit no lldp receive ! interface Loopback0 ip address 10.0.0.2/32 ! interface Ethernet1 no switchport description [Access VLAN red] x1 -> dut ! mac-address 52dc.cafe.0201 no shutdown ! interface Vlan42 description VLAN red (42) -> [dut] ! TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying initial from /home/pipi/net101/tools/netsim/ansible/templates/initial/arubacx.j2] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying initial from /home/pipi/net101/tools/netsim/ansible/templates/initial/eos.j2] *** changed: [x1] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 => (item=vlan) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 => (item=stp) TASK [Figure out whether to deploy the module vlan on current device] ********** ok: [dut] ok: [x1] TASK [Find configuration template for vlan] ************************************ ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for vlan] ******************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- vlan configuration for dut ========================================= ! ! interface 1/1/1 no routing vlan access 42 ! interface vlan42 ok: [x1] => msg: |- vlan configuration for x1 ========================================= vlan 42 name red ! ! interface Ethernet1 switchport switchport access vlan 42 ! interface Vlan42 TASK [Deploy vlan configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying vlan from /home/pipi/net101/tools/netsim/ansible/templates/vlan/arubacx.j2] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying vlan from /home/pipi/net101/tools/netsim/ansible/templates/vlan/eos.j2] *** changed: [x1] TASK [Figure out whether to deploy the module stp on current device] *********** ok: [dut] ok: [x1] TASK [Find configuration template for stp] ************************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for stp] ********************* ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- stp configuration for dut ========================================= ! ! stp config module ! spanning-tree spanning-tree mode mstp spanning-tree priority 1 ok: [x1] => msg: |- stp configuration for x1 ========================================= spanning-tree mode rstp TASK [Deploy stp configuration] ************************************************ included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying stp from /home/pipi/net101/tools/netsim/ansible/templates/stp/arubacx.j2] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying stp from /home/pipi/net101/tools/netsim/ansible/templates/stp/eos.j2] *** changed: [x1] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=37 changed=12 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 x1 : ok=31 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 The device under test is connected to the probe with default STP root priority. Once the STP settles (the interconnecting link in red VLAN is forwarding), we can check that the priority of the root bridge is what we expect.