Developer is not in the sudoers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 12:59 AM
As I know, I need paramiko installation for take my Lab in DevBox: pip install -r requirements.txt
But I haven't sudo access.
Help for solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 06:25 AM
@nyukers are you following a learning lab, if so which one? A lot of content was updated for the user to instal all requirements on their local machine, where this is not possible (such as streaming telemetry) all the requirements should be installed on the default or within a venv.
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 05:26 AM
Of course, You are right.
But I can't do learning labs DevNet about Ansible IOS native modules:
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 32, in
from ansible import context
ImportError: cannot import name context.
And I haven't anything to repair(update or reinstall) it in DevBox.((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 07:08 AM
@nyukers are you following a learning lab, if so which one, please? If you are running this on your local machine try the following
$ sudo -H pip uninstall ansible
$ sudo yum remove ansible -y
Then install through pip:
$ sudo -H pip install ansible
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:00 AM
Ok, I try it from my VM.
And I have another msg from Ansible playbook:
fatal: [ios-xe-mgmt.cisco.com]: FAILED! => {"changed": false, "msg": "timed out"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 03:36 AM
@nyukers the sandbox with URL [ios-xe-mgmt.cisco.com] should be replaced with either
sandbox-iosxe-latest-1.cisco.com sandbox-iosxe-recomm-1.cisco.com Username: developer@sandbox-iosxe-latest-1.cisco.com Password: C1sco12345
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 11:26 PM
Ansible port is 8181 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 02:17 AM
@nyukers Ansible is depending on having ssh access to the device, Ansible’s most used connection plugin is the ssh plugin, which will make changes to the destination host over a standard SSH connection. By default, TCP port 22 will be used to initiate an ssh connection to the IOS host. If you need to change the port you can add them to your Ansible inventory by adding the port number after the hostname with a colon.
For example.
ansible_connection : local ansible_python_interpreter : /usr/bin/python3 host_key_checking : False ansible_ssh_user : developer ansible_ssh_pass : *** ansible_port: 8181
Hope this helps.
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 03:26 AM
Reserved and try again DevBox:
for any sudo execution "Developer is not in the sudoers file. This incident will be reported."
Paramiko is not installed:...
I can't understand what`s the DevBox so limited edition help me. It's not useable!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 03:37 AM
@nyukers there is no sudo/internet access on the devbox for security posture.
Hope this helps.
Connect with me https://bigevilbeard.github.io
