[INFO] Creating configuration snippets [CREATED] r1: normalize,initial,ospf [CREATED] r2: normalize,initial,ospf [CREATED] h: initial,alpine_ssh [INFO] Executing initial configuration for node h (namespace clab- ml_17-h) [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: [h] ok: [r1] ok: [r2] TASK [Generic readiness tests] ************************************************* skipping: [r1] skipping: [h] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for r2 => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [r2 -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [r2 -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [r2 -> localhost]: Execute local ssh command to check ssh readiness (20 retries left). ok: [r2 -> localhost] TASK [Confirm r2 SSH server works] ********************************************* ok: [r2] => { "msg": "Node r2 is ready." } TASK [Find device readiness script] ******************************************** ok: [h] ok: [r1] ok: [r2] TASK [Wait for device to become ready] ***************************************** skipping: [r1] skipping: [r2] skipping: [h] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h] ok: [r1] ok: [r2] TASK [Find configuration template for normalize] ******************************* ok: [h] ok: [r1] ok: [r2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h] ok: [r1] ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] skipping: [h] TASK [Deploy normalize configuration] ****************************************** skipping: [h] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for r1, r2 TASK [eos_config: deploying normalize from /work/netlab_cicd/node_files/r1/normalize] *** [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: [r2] changed: [r1] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h] ok: [r1] ok: [r2] TASK [Find configuration template for initial] ********************************* skipping: [h] ok: [r1] ok: [r2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h] ok: [r1] ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [h] skipping: [r2] TASK [Deploy initial configuration] ******************************************** skipping: [h] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for r1, r2 TASK [eos_config: deploying initial from /work/netlab_cicd/node_files/r1/initial] *** changed: [r1] changed: [r2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [r1] ok: [r2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2 => (item=ospf) TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [r1] ok: [r2] TASK [Find configuration template for ospf] ************************************ ok: [r1] ok: [r2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [r1] ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for r1, r2 TASK [eos_config: deploying ospf from /work/netlab_cicd/node_files/r1/ospf] **** changed: [r2] changed: [r1] PLAY [Deploy custom deployment templates] ************************************** TASK [Run custom configuration deployment scripts] ***************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-custom-config.yml for h => (item=alpine_ssh) TASK [Find configuration template] ********************************************* ok: [h] TASK [fail] ******************************************************************** skipping: [h] TASK [Check is the configuration template is a file] *************************** ok: [h -> localhost] TASK [fail] ******************************************************************** skipping: [h] TASK [Process template /work/netlab_cicd/node_files/h/alpine_ssh for h] ******** skipping: [h] TASK [Find custom configuration deployment script] ***************************** ok: [h] TASK [Run the configuration deployment script] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/linux-clab.yml for h TASK [Define script filename and determine whether to execute in netns] ******** ok: [h] TASK [Create a temporary file for the rendered script] ************************* changed: [h -> localhost] TASK [Create container setup script from /work/netlab_cicd/node_files/h/alpine_ssh] *** changed: [h -> localhost] TASK [Copy script into running container at /tmp/config-h_alpine_ssh.sh] ******* changed: [h -> localhost] TASK [Execute /tmp/config-h_alpine_ssh.sh to deploy alpine_ssh config based on /work/netlab_cicd/node_files/h/alpine_ssh] *** changed: [h] TASK [Container configuration for alpine_ssh based on /work/netlab_cicd/node_files/h/alpine_ssh executed in netns] *** skipping: [h] TASK [Remove temporary file /tmp/h_alpine_ssh-5ewyktkj.sh] ********************* changed: [h -> localhost] PLAY RECAP ********************************************************************* h : ok=19 changed=5 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 r1 : ok=21 changed=3 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 r2 : ok=26 changed=3 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ h OK: 1