Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Playbook to test libssh configuration settings
- 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