From a5b8e80c57685559cfa24fac3d2e07098423ce4d Mon Sep 17 00:00:00 2001 From: Accendit <36697826+Accendit@users.noreply.github.com> Date: Thu, 7 May 2020 15:28:07 +0200 Subject: [PATCH] Added testing Ansible configurations --- group_vars/ios.yml | 8 ++++++++ inventory.yaml | 4 ++++ playbook.yaml | 0 3 files changed, 12 insertions(+) create mode 100644 group_vars/ios.yml create mode 100644 inventory.yaml create mode 100644 playbook.yaml diff --git a/group_vars/ios.yml b/group_vars/ios.yml new file mode 100644 index 0000000..46d02b5 --- /dev/null +++ b/group_vars/ios.yml @@ -0,0 +1,8 @@ +ansible_connection: network_cli +ansible_network_os: ios +ansible_user: ansible +ansible_password: ansible +ansible_become: yes +ansible_become_method: enable +ansible_become_password: ansible +# ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q bastion01"' \ No newline at end of file diff --git a/inventory.yaml b/inventory.yaml new file mode 100644 index 0000000..c091a10 --- /dev/null +++ b/inventory.yaml @@ -0,0 +1,4 @@ +switches: + hosts: + sw01: + ansible_host: 192.168.1.149 \ No newline at end of file diff --git a/playbook.yaml b/playbook.yaml new file mode 100644 index 0000000..e69de29