<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ansible not working with Cisco IOS - &amp;quot;network os iOS is not s in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528494#M2381</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/87667"&gt;@dhr.tech1&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ansible_network_os=ios&lt;/PRE&gt;&lt;P&gt;In network automation work its important to pay attention to case. &amp;nbsp;iOS does not equal ios&lt;BR /&gt;&lt;BR /&gt;Apologies if its not that simple and that was just an auto correct thing in your text!&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jan 2022 15:22:32 GMT</pubDate>
    <dc:creator>Claudia de Luna</dc:creator>
    <dc:date>2022-01-09T15:22:32Z</dc:date>
    <item>
      <title>Ansible not working with Cisco IOS - "network os iOS is not supported"</title>
      <link>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528488#M2380</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to setup Ansible with Cisco IOS but receive error listed below. I have provided details below. (attached screen shot for reference)&lt;/P&gt;&lt;P&gt;TASK [run multiple commands on remote nodes] ***********************************&lt;BR /&gt;fatal: [CSR1]: FAILED! =&amp;gt; {"msg": "network os iOS is not supported"}&lt;/P&gt;&lt;P&gt;Ansible Version:&amp;nbsp;ansible 2.9.27&lt;/P&gt;&lt;P&gt;=====================Host File=================&lt;/P&gt;&lt;P&gt;## Ansible Hosts File for Home Lab&lt;/P&gt;&lt;P&gt;[all:vars]&lt;BR /&gt;ansible_user=dhruv&lt;BR /&gt;ansible_ssh_pass=cisco&lt;BR /&gt;ansible_network_os=iOS&lt;BR /&gt;ansible_connection=network_cli&lt;/P&gt;&lt;P&gt;[CSR-Router]&lt;BR /&gt;CSR1 ansible_host=192.168.111.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# host all : refer to all the devices&lt;/P&gt;&lt;P&gt;====== Playbook ================&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;- name: show version and other user level commands&lt;BR /&gt;hosts: all&lt;BR /&gt;gather_facts: false&lt;BR /&gt;connection: local&lt;/P&gt;&lt;P&gt;tasks:&lt;BR /&gt;- name: run multiple commands on remote nodes&lt;BR /&gt;ios_command:&lt;BR /&gt;commands:&lt;BR /&gt;- show version&lt;BR /&gt;- show ip int brief&lt;BR /&gt;- show cry isa sa details&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;register: print_output&lt;/P&gt;&lt;P&gt;- debug: var=print_output.stdout_lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;============== configuration File =====================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[defaults]&lt;BR /&gt;inventory = /home/dhruv/babi.com/hosts&lt;BR /&gt;host_key_checking = False&lt;BR /&gt;# Don’t worry about RSA Fingerprints&lt;BR /&gt;retry_files_enabled = False&lt;BR /&gt;# Do not create retry files on job failure&lt;BR /&gt;forks = 4&lt;BR /&gt;# The number of devices Ansible can connect at once. By default it connects with 5 devices at one time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 14:54:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528488#M2380</guid>
      <dc:creator>dhr.tech1</dc:creator>
      <dc:date>2022-01-09T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible not working with Cisco IOS - "network os iOS is not s</title>
      <link>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528494#M2381</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/87667"&gt;@dhr.tech1&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ansible_network_os=ios&lt;/PRE&gt;&lt;P&gt;In network automation work its important to pay attention to case. &amp;nbsp;iOS does not equal ios&lt;BR /&gt;&lt;BR /&gt;Apologies if its not that simple and that was just an auto correct thing in your text!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 15:22:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528494#M2381</guid>
      <dc:creator>Claudia de Luna</dc:creator>
      <dc:date>2022-01-09T15:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible not working with Cisco IOS - "network os iOS is not s</title>
      <link>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528678#M2382</link>
      <description>&lt;P&gt;Hi, thanks for the update it worked last night. I updated the host file as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[all:vars]&lt;BR /&gt;ansible_user=dhruv&lt;BR /&gt;ansible_ssh_pass=cisco&lt;BR /&gt;ansible_network_os=ios&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[CSR-Router]&lt;BR /&gt;CSR1 ansible_host=192.168.111.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# host all : refer to all the devices&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 09:16:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ansible-not-working-with-cisco-ios-quot-network-os-ios-is-not/m-p/4528678#M2382</guid>
      <dc:creator>dhr.tech1</dc:creator>
      <dc:date>2022-01-10T09:16:41Z</dc:date>
    </item>
  </channel>
</rss>

