Ansible (part 2): parametrization for Nokia (Alcatel-Lucent) SR OS and Cisco IOS XR

Anton Karneliuk. IT & Network Expert / Architect / Manager; Project Manager; Entrepreneur; 2x CCIE (RS/SP) #49412; MSc Telecommunications.

Leave a Reply

Comment as a guest.

  1. Hey Anton, great blog! Nice to see more Nokia out there.
    Curious what your thoughts are on SROS support in Ansible versus old skool methods. I’ve been using ansible to control config generation prior to support for SROS. In the end I bypassed Ansible and just used jinja2 directly in python because it was more trouble to make a call to Ansible when I was just using it to template out correctly, something that can easily been done directly in a python app. I don’t see a huge benefit with SROS support when I can do whatever I need in python. Yes Ansible is slicker and more user friendly but I guess I don’t feel the need to go via Ansible when I already have tools that do the same thing. I still need to get variables in to Ansible to generate a config. How did you find the user friendliness of support? BTW Im not a programmer, I got python to do what I needed it to do 🙂

  2. Hello Anton,

    Again a great blog and very useful. But I want you to stress and talk more about getting the SSH connection work. What are the changes require in ansible.cfg file. I can ssh to my devices and keys are stored in ~known-host file but SSH fails as I mention connection type local. If I provide the SSH file location it work but in this case it is not scaling as one playbook can talk to one device only. Appreciate if you reveal more about how you got multiple ssh connection working.

    1. Hi Amit,
      Thanks for the feedback.
      But it is common staff for SSH, that you have to obtain key before you can actively use it. And it’s done typically upon first login attempt. Or have I understood something wrong?
      BR,
      Anton

Read Next

Sliding Sidebar