Difference between revisions of "Ios command"

From wikieduonline
Jump to navigation Jump to search
(Created page with " - name: run multiple commands on remote nodes ios_command: commands: - show version - show interfaces")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
  
 +
#!/usr/bin/env [[ansible-playbook]]
 +
 +
- hosts: HOSTNAME
 +
  [[gather_facts:]] false
 +
 +
  [[tasks:]]
 +
      - ios_command:
 +
          commands:
 +
            - show version
 +
            - show interfaces
  
  
Line 6: Line 17:
 
     ios_command:
 
     ios_command:
 
       commands:
 
       commands:
         - show version
+
         - [[show version]]
         - show interfaces
+
         - [[show interfaces]]
 +
 
 +
 
 +
== Related terms ==
 +
* <code>[[ios_ping]]</code>
 +
 
 +
 
 +
== See also ==
 +
* {{IOS}}
 +
* {{Ansible}}
 +
 
 +
[[Category:Ansible]]

Latest revision as of 19:03, 20 October 2021

Advertising: