Difference between revisions of "Ios command"
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
#!/usr/bin/env ansible-playbook - hosts: HOSTNAME gather_facts: false tasks: - ios_ping: dest: 10.10.10.1
- name: run multiple commands on remote nodes ios_command: commands: - show version - show interfaces
See also
- 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: