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")
 
Line 1: Line 1:
  
 +
 +
#!/usr/bin/env ansible-playbook
 +
 +
- hosts: HOSTNAME
 +
  [[gather_facts:]] false
 +
 +
  tasks:
 +
      - ios_ping:
 +
          dest: 10.10.10.1
  
  
Line 8: Line 17:
 
         - show version
 
         - show version
 
         - show interfaces
 
         - show interfaces
 +
 +
 +
== See also ==
 +
* {{Ansible}}

Revision as of 11:12, 29 November 2020

Advertising: