[WARNING]: Could not match supplied host pattern, ignoring: unprovisioned PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [Find device readiness script] ******************************************** ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [Wait for device to become ready] ***************************************** skipping: [c1] skipping: [c2] skipping: [server] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/eos-clab.yml for relay TASK [Wait for cEOS SSH daemon to start] *************************************** ok: [relay] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for c1, c2, server, relay TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [Find configuration template for normalize] ******************************* ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] skipping: [server] skipping: [relay] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [c1] skipping: [c2] skipping: [server] ok: [relay] => msg: |- normalize configuration for relay ========================================= ! interface Ethernet1 no switchport mac-address 52dc.cafe.0101 ! interface Ethernet2 no switchport mac-address 52dc.cafe.0102 TASK [Find configuration deployment deploy_script for normalize] *************** skipping: [c1] skipping: [c2] skipping: [server] ok: [relay] TASK [Deploy normalize configuration] ****************************************** skipping: [c1] skipping: [c2] skipping: [server] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for relay 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: [relay] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for c1, c2, server, relay TASK [Figure out whether to deploy the module initial on current device] ******* ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [Find configuration template for initial] ********************************* ok: [c1] ok: [c2] ok: [server] ok: [relay] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] skipping: [server] skipping: [relay] TASK [Print deployed configuration when running in verbose mode] *************** ok: [server] => msg: |- initial configuration for server ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.1.4/24 dev eth1 2>/dev/null set -e ip addr add 172.16.1.4/24 dev eth1 ip link set dev eth1 mtu 1500 # # Add static routes (usually IPv4 routes pointing to the first usable gateway) # echo Removing existing IPv4 routes while ip route del 172.16.0.0/16 2>/dev/null; do : ; done while ip route del 10.0.0.0/24 2>/dev/null; do : ; done while ip route del 10.1.0.0/16 2>/dev/null; do : ; done while ip route del 10.2.0.0/24 2>/dev/null; do : ; done # # echo Adding direct static routes ip route add 172.16.0.0/16 via 172.16.1.1 dev eth1 protocol static ip route add 10.0.0.0/24 via 172.16.1.1 dev eth1 protocol static ip route add 10.1.0.0/16 via 172.16.1.1 dev eth1 protocol static ip route add 10.2.0.0/24 via 172.16.1.1 dev eth1 protocol static # # Print the final routing table ip route ok: [c1] => msg: |- initial configuration for c1 ========================================= #!/bin/bash # set -e # # Create bash profile script # cat <