Warning in ansible: You're using Ansible version 12.x or higher; netlab might not work correctly ... Ansible core version 2.19 introduced breaking changes in templates and playbooks ... We tested netlab core with Ansible version 12.x but not every device template ... You might want to downgrade Ansible to version 11.10 or lower. ... Use 'netlab install ansible' on Ubuntu to do that ... Finally, please open a GitHub issue if you experience errors/crashes ... Set defaults.ansible.warnings.ver12 to False to hide this warning [INFO] Checking for updates in configuration templates [INFO] Creating configuration snippets [CREATED] h1: initial,routing [CREATED] h2: initial,routing [CREATED] r1: initial,eigrp [CREATED] r2: initial,eigrp [INFO] Executing initial configuration for node h1 (namespace clab- ml_23-h1) [INFO] Executing routing configuration for node h1 (namespace clab- ml_23-h1) [INFO] Executing initial configuration for node h2 (namespace clab- ml_23-h2) [INFO] Executing routing configuration for node h2 (namespace clab- ml_23-h2) [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name 'hosts'. Origin: /work/netlab_cicd/hogs/group_vars/all/topology.yml:157:1 155 ipv4: 10.2.0.0/24 156 prefix: 32 157 hosts: ^ column 1 PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [r1] ok: [r2] TASK [Generic readiness tests] ************************************************* skipping: [h1] skipping: [h2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for r1, r2 => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [r1 -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [r1 -> localhost] ok: [r2 -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (50 retries left). FAILED - RETRYING: [r2 -> localhost]: Execute local ssh command to check ssh readiness (20 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (49 retries left). FAILED - RETRYING: [r2 -> localhost]: Execute local ssh command to check ssh readiness (19 retries left). ok: [r2 -> localhost] FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (48 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (47 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (46 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (45 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (44 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (43 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (42 retries left). FAILED - RETRYING: [r1 -> localhost]: Execute local ssh command to check ssh readiness (41 retries left). ok: [r1 -> localhost] TASK [Confirm r1 SSH server works] ********************************************* ok: [r1] => { "msg": "Node r1 is ready." } ok: [r2] => { "msg": "Node r2 is ready." } TASK [Find device readiness script] ******************************************** ok: [h1] ok: [h2] ok: [r1] ok: [r2] TASK [Wait for device to become ready] ***************************************** skipping: [h1] skipping: [h2] skipping: [r2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/nxos.yml for r1 TASK [Wait for Eth1/1 to appear] *********************************************** ok: [r1] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h1] TASK [Find configuration template for normalize] ******************************* ok: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy normalize configuration] ****************************************** skipping: [h1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h2] TASK [Find configuration template for normalize] ******************************* ok: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy normalize configuration] ****************************************** skipping: [h2] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r1] TASK [Find configuration template for normalize] ******************************* ok: [r1] TASK [fail] ******************************************************************** skipping: [r1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] TASK [Deploy normalize configuration] ****************************************** skipping: [r1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r2] TASK [Find configuration template for normalize] ******************************* ok: [r2] TASK [fail] ******************************************************************** skipping: [r2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r2] TASK [Deploy normalize configuration] ****************************************** skipping: [r2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h1] TASK [Find configuration template for initial] ********************************* skipping: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy initial configuration] ******************************************** skipping: [h1] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h2] TASK [Find configuration template for initial] ********************************* skipping: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy initial configuration] ******************************************** skipping: [h2] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [r1] TASK [Find configuration template for initial] ********************************* ok: [r1] TASK [fail] ******************************************************************** skipping: [r1] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [r1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [r1] => { "msg": "initial configuration for r1\n=========================================\nhostname r1\n!\nno ip domain-lookup\n!\nfeature lldp\n!\nusername vagrant password vagrant\n!\nip host h1 172.16.0.1\nip host h2 172.16.1.2\nip host r2 10.0.0.4\n!\n!\ninterface mgmt0\n no lldp transmit\n no lldp receive\n!\ninterface loopback0\n no shutdown\n ip address 10.0.0.3/32\n!\ninterface Ethernet1/1\n no shutdown\n no switchport\n mac-address caf0.0003.0001\n description r1 -> h1 [stub]\n ip address 172.16.0.3/24\n!\ninterface Ethernet1/2\n no shutdown\n no switchport\n mac-address caf0.0003.0002\n description r1 -> r2\n ip address 10.1.0.1/30\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/nxos.yml for r1 TASK [nxos_config: deploying initial from /work/netlab_cicd/hogs/node_files/r1/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: [r1] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [r2] TASK [Find configuration template for initial] ********************************* ok: [r2] TASK [fail] ******************************************************************** skipping: [r2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [r2] => { "msg": "initial configuration for r2\n=========================================\nhostname r2\n!\nno ip domain lookup\nlogging buffered 256000\n\n!\nlldp run\n!\nip host h1 172.16.0.1\nip host h2 172.16.1.2\nip host r1 10.0.0.3 172.16.0.3 10.1.0.1\n!\nip routing\n!\nno ipv6 unicast-routing\n!\n!\ninterface Loopback0\n ip address 10.0.0.4 255.255.255.255\n!\ninterface Ethernet0/0\n no lldp transmit\n no lldp receive\n!\ninterface Ethernet0/1\n description r2 -> r1\n ip address 10.1.0.2 255.255.255.252\n no shutdown\n!\ninterface Ethernet0/2\n description r2 -> h2 [stub]\n ip address 172.16.1.4 255.255.255.0\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 r2 TASK [ios_config: deploying initial from /work/netlab_cicd/hogs/node_files/r2/initial] *** changed: [r2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [r2] ok: [r1] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1 => (item=eigrp) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h2 => (item=eigrp) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1 => (item=eigrp) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r2 => (item=eigrp) TASK [Figure out whether to deploy the module routing on current device] ******* ok: [h1] TASK [Find configuration template for routing] ********************************* skipping: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy routing configuration] ******************************************** skipping: [h1] TASK [Figure out whether to deploy the module eigrp on current device] ********* ok: [h1] TASK [Find configuration template for eigrp] *********************************** skipping: [h1] TASK [fail] ******************************************************************** skipping: [h1] TASK [Find configuration deployment deploy_script for eigrp] ******************* skipping: [h1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] TASK [Deploy eigrp configuration] ********************************************** skipping: [h1] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [h2] TASK [Find configuration template for routing] ********************************* skipping: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy routing configuration] ******************************************** skipping: [h2] TASK [Figure out whether to deploy the module eigrp on current device] ********* ok: [h2] TASK [Find configuration template for eigrp] *********************************** skipping: [h2] TASK [fail] ******************************************************************** skipping: [h2] TASK [Find configuration deployment deploy_script for eigrp] ******************* skipping: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h2] TASK [Deploy eigrp configuration] ********************************************** skipping: [h2] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [r1] TASK [Find configuration template for routing] ********************************* skipping: [r1] TASK [fail] ******************************************************************** skipping: [r1] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [r1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] TASK [Deploy routing configuration] ******************************************** skipping: [r1] TASK [Figure out whether to deploy the module eigrp on current device] ********* ok: [r1] TASK [Find configuration template for eigrp] *********************************** ok: [r1] TASK [fail] ******************************************************************** skipping: [r1] TASK [Find configuration deployment deploy_script for eigrp] ******************* ok: [r1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [r1] => { "msg": "eigrp configuration for r1\n=========================================\nfeature eigrp\n!\nrouter eigrp 2\n router-id 10.0.0.3\n!\ninterface loopback0\n ip router eigrp 2\n!\ninterface Ethernet1/1\n ip router eigrp 2\n ip passive-interface eigrp 2\n!\ninterface Ethernet1/2\n ip router eigrp 2\n!\n" } TASK [Deploy eigrp configuration] ********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/nxos.yml for r1 TASK [nxos_config: deploying eigrp from /work/netlab_cicd/hogs/node_files/r1/eigrp] *** changed: [r1] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [r2] TASK [Find configuration template for routing] ********************************* skipping: [r2] TASK [fail] ******************************************************************** skipping: [r2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r2] TASK [Deploy routing configuration] ******************************************** skipping: [r2] TASK [Figure out whether to deploy the module eigrp on current device] ********* ok: [r2] TASK [Find configuration template for eigrp] *********************************** ok: [r2] TASK [fail] ******************************************************************** skipping: [r2] TASK [Find configuration deployment deploy_script for eigrp] ******************* ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [r2] => { "msg": "eigrp configuration for r2\n=========================================\nrouter eigrp 2\n eigrp router-id 10.0.0.4\n network 10.0.0.4 0.0.0.0\n network 10.1.0.2 0.0.0.0\n network 172.16.1.4 0.0.0.0\n passive-interface Ethernet0/2\n passive-interface Ethernet0/0\n!\n" } TASK [Deploy eigrp configuration] ********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for r2 TASK [ios_config: deploying eigrp from /work/netlab_cicd/hogs/node_files/r2/eigrp] *** changed: [r2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* h1 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 h2 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 r1 : ok=30 changed=2 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 r2 : ok=27 changed=2 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Warning: The following warnings were generated during the 'netlab initial' processing Warning: ansible: You're using Ansible version 12.x or higher; netlab might not work correctly Results of configuration script deployments ================================================================================ h1 OK: 2 h2 OK: 2