08-15-2020 04:17 PM
Has anyone completed the LL: Ansible IOS native modules recently? I wasn't able to complete this after an hour of attempts using:
I am trying to run the playbooks directly on my machine, I can't clone the supplied repo since public internet access is blocked. The hosts file uses port 8181 to connect, however that recently has been blocked.
Port 8181 Blocked:
nc -zv 10.10.20.48 8181
nc: connectx to 10.10.20.48 port 8181 (tcp) failed: Connection refused
Running Playbook timing out against `iosxe`
ansible-playbook ansible-02-ios-modules/02-ios_command_show_ntp.yaml -i hosts -e "hosts=iosxe"
[WARNING]: Found variable using reserved name: hosts
PLAY [Sample IOS show ntp for Ansible 2.5] ***************************************************************************************************
TASK [run show ntp associations] *************************************************************************************************************
Running Playbook timing out against `sandbox`
ansible-playbook ansible-02-ios-modules/02-ios_command_show_ntp.yaml -i hosts -e "hosts=sandbox"
[WARNING]: Found variable using reserved name: hosts
PLAY [Sample IOS show ntp for Ansible 2.5] ***************************************************************************************************
TASK [run show ntp associations] *************************************************************************************************************
I included this info as well in /group_vars/iosxe.yaml
ansible_connection: network_cli
ansible_become: yes
ansible_become_method: enable
ansible_network_os: ios
ansible_user: 'developer'
ansible_ssh_pass: 'C1sco12345'
ansible_port: 22
Solved! Go to Solution.
08-17-2020 04:29 PM
Using IOS XE on CSR Latest Code AlwaysOn lab and getting correct output from the playbook. Issue resolved.
08-17-2020 02:44 AM - edited 08-17-2020 02:44 AM
I dont think this is a sandbox issue, post the issue under https://github.com/CiscoDevNet/learning-labs-issues/ for this to be checked please.
Thanks!
08-17-2020 09:23 AM
Thank you @bigevilbeard for pointing me in the right direction.
The issue has been submitted on Github
08-17-2020 04:29 PM
Using IOS XE on CSR Latest Code AlwaysOn lab and getting correct output from the playbook. Issue resolved.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide