From eb9e29bc54ffc1ae482b7abff682c5913168269c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Wed, 30 Oct 2024 11:29:01 +0000
Subject: [PATCH] Partial support multi-master kubernetes

---
 common/playbooks/accounting.yaml       | 2 +-
 common/playbooks/k8s.yaml              | 2 +-
 common/playbooks/notebooks.yaml        | 2 +-
 common/playbooks/security-logs.yaml    | 2 +-
 common/playbooks/security-scanner.yaml | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/playbooks/accounting.yaml b/common/playbooks/accounting.yaml
index 53d4cf8..a835caa 100644
--- a/common/playbooks/accounting.yaml
+++ b/common/playbooks/accounting.yaml
@@ -1,5 +1,5 @@
 - name: EOSC accounting deployment
-  hosts: master
+  hosts: master[0]
   become: true
   tasks:
     - name: Configure helm repo
diff --git a/common/playbooks/k8s.yaml b/common/playbooks/k8s.yaml
index 090047f..fb46953 100644
--- a/common/playbooks/k8s.yaml
+++ b/common/playbooks/k8s.yaml
@@ -249,7 +249,7 @@
 
 
 - name: K8s customization
-  hosts: master
+  hosts: master[0]
   become: true
   tasks:
     - name: Wait for helm
diff --git a/common/playbooks/notebooks.yaml b/common/playbooks/notebooks.yaml
index 893f911..5b003a7 100644
--- a/common/playbooks/notebooks.yaml
+++ b/common/playbooks/notebooks.yaml
@@ -1,6 +1,6 @@
 ---
 - name: Notebooks deployments
-  hosts: master
+  hosts: master[0]
   become: true
   tasks:
     - name: Configure helm repo
diff --git a/common/playbooks/security-logs.yaml b/common/playbooks/security-logs.yaml
index ce71315..e08df25 100644
--- a/common/playbooks/security-logs.yaml
+++ b/common/playbooks/security-logs.yaml
@@ -33,7 +33,7 @@
 # For GELF: add self_signed.crt to authorized client certificates directory.
 #
 - name: Fluent Bit Configuration
-  hosts: master
+  hosts: master[0]
   become: true
   vars:
     namespace: fluent-bit
diff --git a/common/playbooks/security-scanner.yaml b/common/playbooks/security-scanner.yaml
index 05c59a9..0459062 100644
--- a/common/playbooks/security-scanner.yaml
+++ b/common/playbooks/security-scanner.yaml
@@ -5,7 +5,7 @@
 # * deepfence_key (required)
 #
 - name: Deepfence ThreadManager Agent Deployment
-  hosts: master
+  hosts: master[0]
   become: true
   vars:
     namespace: deepfence
-- 
GitLab