[INFO] Creating configuration snippets [CREATED] c1: initial,dhcp [CREATED] c2: initial,dhcp [CREATED] server: initial,dhcp [INFO] Executing initial configuration for node server (namespace clab-ml-17-server) [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [c1] ok: [c2] TASK [Generic readiness tests] ************************************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for c1, c2 => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [c1 -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [c2 -> localhost] ok: [c1 -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [c2 -> localhost]: Execute local ssh command to check ssh readiness (20 retries left). FAILED - RETRYING: [c1 -> localhost]: Execute local ssh command to check ssh readiness (20 retries left). FAILED - RETRYING: [c1 -> localhost]: Execute local ssh command to check ssh readiness (19 retries left). FAILED - RETRYING: [c2 -> localhost]: Execute local ssh command to check ssh readiness (19 retries left). ok: [c1 -> localhost] ok: [c2 -> localhost] TASK [Confirm c1 SSH server works] ********************************************* ok: [c1] => { "msg": "Node c1 is ready." } ok: [c2] => { "msg": "Node c2 is ready." } TASK [Find device readiness script] ******************************************** ok: [c1] ok: [c2] TASK [Wait for device to become ready] ***************************************** skipping: [c1] skipping: [c2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [c1] ok: [c2] TASK [Find configuration template for normalize] ******************************* ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [c1] skipping: [c2] TASK [Deploy normalize configuration] ****************************************** skipping: [c1] skipping: [c2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [c1] ok: [c2] TASK [Find configuration template for initial] ********************************* ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [c1] => { "msg": "initial configuration for c1\n=========================================\nhostname c1\n!\nno ip domain lookup\nlogging buffered 256000\n\n!\nlldp run\n!\nip host c2 10.0.0.2\nip host server 2001:db8:cafe::3\n!\nip routing\n!\nipv6 unicast-routing\n!\n!\ninterface Loopback0\n ip address 10.0.0.1 255.255.255.255\n!\ninterface Ethernet0/0\n no lldp transmit\n no lldp receive\n!\ninterface Ethernet0/1\n description c1 -> [c2,server]\n no shutdown\n!\n!\nline vty 0 4\n exec-timeout 0 0 \n!\nno banner exec\nno banner login\nno banner incoming\n" } ok: [c2] => { "msg": "initial configuration for c2\n=========================================\nhostname c2\n!\nno ip domain lookup\nlogging buffered 256000\n\n!\nlldp run\n!\nip host c1 10.0.0.1\nip host server 2001:db8:cafe::3\n!\nip routing\n!\nipv6 unicast-routing\n!\n!\ninterface Loopback0\n ip address 10.0.0.2 255.255.255.255\n!\ninterface Ethernet0/0\n no lldp transmit\n no lldp receive\n!\ninterface Ethernet0/1\n description c2 -> [c1,server]\n no shutdown\n!\n!\nline vty 0 4\n exec-timeout 0 0 \n!\nno banner exec\nno banner login\nno banner incoming\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for c1, c2 TASK [ios_config: deploying initial from /work/netlab_cicd/node_files/c1/initial] *** [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: [c1] changed: [c2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [c1] ok: [c2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 => (item=dhcp) TASK [Figure out whether to deploy the module dhcp on current device] ********** ok: [c1] ok: [c2] TASK [Find configuration template for dhcp] ************************************ ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for dhcp] ******************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [c1] => { "msg": "dhcp configuration for c1\n=========================================\ninterface Ethernet0/1\n ipv6 enable\n ipv6 address dhcp\n" } ok: [c2] => { "msg": "dhcp configuration for c2\n=========================================\ninterface Ethernet0/1\n ipv6 enable\n ipv6 address dhcp\n" } TASK [Deploy dhcp configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for c1, c2 TASK [ios_config: deploying dhcp from /work/netlab_cicd/node_files/c1/dhcp] **** changed: [c1] changed: [c2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* c1 : ok=26 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 c2 : ok=25 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ server OK: 1 Use this topology to test the DHCPv6 server on your device. Use 'netlab validate' to check whether your device allocated IPv6 addresses to Cisco IOS clients.