Difference between revisions of "Ios command"
Jump to navigation
Jump to search
(4 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_command: | - ios_command: | ||
commands: | commands: | ||
Line 17: | 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]] | [[Category:Ansible]] |
Latest revision as of 19:03, 20 October 2021
#!/usr/bin/env ansible-playbook - hosts: HOSTNAME gather_facts: false tasks: - ios_command: commands: - show version - show interfaces
- name: run multiple commands on remote nodes ios_command: commands: - show version - show interfaces
Related terms[edit]
See also[edit]
- Cisco IOS: Cisco IOS XE, Config (mode), VLANs, Cisco IOS logging, VTP, ACLs,
show logging
,show logging history
,show interface status
,debug
,archive
,show archive
,conf t
,int
,ip http server
,ip ssh
,ip address
, vty,show mac address-table
,show access-list
, Access-list,ip access-group
,admin
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: