From d211caae89a65f361ff0d47ab147c4c8fc5801f8 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Fri, 14 Jul 2023 21:31:23 +0200 Subject: [PATCH] rename switch host --- .../vars.yml | 2 +- host_vars/cisco-2960-1.n39.eu/vault | 8 ++++++++ inventory.yml | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) rename host_vars/{cisco-catalyst-2960s.n39.eu => cisco-2960-1.n39.eu}/vars.yml (94%) create mode 100644 host_vars/cisco-2960-1.n39.eu/vault diff --git a/host_vars/cisco-catalyst-2960s.n39.eu/vars.yml b/host_vars/cisco-2960-1.n39.eu/vars.yml similarity index 94% rename from host_vars/cisco-catalyst-2960s.n39.eu/vars.yml rename to host_vars/cisco-2960-1.n39.eu/vars.yml index 2573bab..4b61e5a 100644 --- a/host_vars/cisco-catalyst-2960s.n39.eu/vars.yml +++ b/host_vars/cisco-2960-1.n39.eu/vars.yml @@ -1,5 +1,5 @@ --- -ansible_host: 172.23.63.31 +ansible_host: 172.23.63.45 ansible_user: admin ansible_password: {{ vault_ansible_password }} ansible_connection: network_cli diff --git a/host_vars/cisco-2960-1.n39.eu/vault b/host_vars/cisco-2960-1.n39.eu/vault new file mode 100644 index 0000000..fcc1366 --- /dev/null +++ b/host_vars/cisco-2960-1.n39.eu/vault @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +64656665316637386363313263653532393161656531336262613266363231373537396633386231 +3834356536353235356630333766396233626130653237380a396137336262376539373838623762 +35396361643263313239386637653330646134616333333961306537306464626461626462626665 +3763386531316433390a323533353531363335306663343632326562663334303466663664363530 +38613135333336656131646534633839386330323164643338333763373839306566656633633161 +62643964343763316264376366636562316336616665663865336633373266353931366336346666 +616135333836343436633136636163656138 diff --git a/inventory.yml b/inventory.yml index e564117..6a1460e 100644 --- a/inventory.yml +++ b/inventory.yml @@ -17,7 +17,7 @@ all: k3s-w1.n39.eu: k3s-w2.n39.eu: k3s-w3.n39.eu: - cisco-catalyst-2960s.n39.eu: + cisco-2960-1.n39.eu: children: docker_host: @@ -72,4 +72,4 @@ all: k3s-w3.n39.eu: network: hosts: - cisco-catalyst-2960s.n39.eu: + cisco-2960-1.n39.eu: