From 1955bc189e92b0c0fa66e99b22ef99d807d77e8e Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 2 Aug 2021 15:45:59 -0500 Subject: [PATCH] Re-add hostvars for k8s cluster --- inventory/group_vars/tags_pik8s-node | 2 ++ inventory/host_vars/pi-kub-node-1.desu.ltd.yml | 3 +++ inventory/host_vars/pi-kub-node-2.desu.ltd.yml | 2 ++ inventory/host_vars/pi-kub-node-3.desu.ltd.yml | 2 ++ inventory/host_vars/pi-kub-node-4.desu.ltd.yml | 2 ++ inventory/host_vars/pi-kub-node-5.desu.ltd.yml | 2 ++ 6 files changed, 13 insertions(+) create mode 100644 inventory/group_vars/tags_pik8s-node create mode 100644 inventory/host_vars/pi-kub-node-1.desu.ltd.yml create mode 100644 inventory/host_vars/pi-kub-node-2.desu.ltd.yml create mode 100644 inventory/host_vars/pi-kub-node-3.desu.ltd.yml create mode 100644 inventory/host_vars/pi-kub-node-4.desu.ltd.yml create mode 100644 inventory/host_vars/pi-kub-node-5.desu.ltd.yml diff --git a/inventory/group_vars/tags_pik8s-node b/inventory/group_vars/tags_pik8s-node new file mode 100644 index 0000000..2b64d85 --- /dev/null +++ b/inventory/group_vars/tags_pik8s-node @@ -0,0 +1,2 @@ +# vim:ft=ansible +kubernetes_role: node diff --git a/inventory/host_vars/pi-kub-node-1.desu.ltd.yml b/inventory/host_vars/pi-kub-node-1.desu.ltd.yml new file mode 100644 index 0000000..6768e90 --- /dev/null +++ b/inventory/host_vars/pi-kub-node-1.desu.ltd.yml @@ -0,0 +1,3 @@ +# vim:ft=ansible +keepalived_state: MASTER +keepalived_priority: 50 diff --git a/inventory/host_vars/pi-kub-node-2.desu.ltd.yml b/inventory/host_vars/pi-kub-node-2.desu.ltd.yml new file mode 100644 index 0000000..dae6e85 --- /dev/null +++ b/inventory/host_vars/pi-kub-node-2.desu.ltd.yml @@ -0,0 +1,2 @@ +# vim:ft=ansible +keepalived_priority: 49 diff --git a/inventory/host_vars/pi-kub-node-3.desu.ltd.yml b/inventory/host_vars/pi-kub-node-3.desu.ltd.yml new file mode 100644 index 0000000..5a2364a --- /dev/null +++ b/inventory/host_vars/pi-kub-node-3.desu.ltd.yml @@ -0,0 +1,2 @@ +# vim:ft=ansible +keepalived_priority: 48 diff --git a/inventory/host_vars/pi-kub-node-4.desu.ltd.yml b/inventory/host_vars/pi-kub-node-4.desu.ltd.yml new file mode 100644 index 0000000..9ca48e8 --- /dev/null +++ b/inventory/host_vars/pi-kub-node-4.desu.ltd.yml @@ -0,0 +1,2 @@ +# vim:ft=ansible +keepalived_priority: 47 diff --git a/inventory/host_vars/pi-kub-node-5.desu.ltd.yml b/inventory/host_vars/pi-kub-node-5.desu.ltd.yml new file mode 100644 index 0000000..4044c65 --- /dev/null +++ b/inventory/host_vars/pi-kub-node-5.desu.ltd.yml @@ -0,0 +1,2 @@ +# vim:ft=ansible +keepalived_priority: 46