Created
October 29, 2020 16:50
-
-
Save ganeshrn/78149adca85c809b69ed1b5f5262844c to your computer and use it in GitHub Desktop.
Playbook to test libssh configuration settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: "changeme" | |
gather_facts: no | |
connection: ansible.netcommon.network_cli | |
vars: | |
ansible_network_os: cisco.ios.ios | |
ansible_user: "changeme" | |
ansible_password: "changeme" | |
ansible_network_cli_ssh_type: libssh | |
tasks: | |
- name: run show version command | |
ansible.netcommon.cli_command: | |
command: show version | |
- name: run show version command | |
ansible.netcommon.cli_command: | |
command: show interfaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment