Difference between revisions of "Ios command"

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

Latest revision as of 19:03, 20 October 2021

Advertising: