From 07a0893b5a47faf16d0db0329aaa0b0f0a9d0256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 16 Jan 2024 14:56:04 +0100 Subject: [PATCH] Mirrormanager in openshift: add some vars that were in the inventory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- playbooks/openshift-apps/mirrormanager.yml | 2 ++ vars/apps/mirrormanager.yml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 vars/apps/mirrormanager.yml diff --git a/playbooks/openshift-apps/mirrormanager.yml b/playbooks/openshift-apps/mirrormanager.yml index ed5b019268..281415a550 100644 --- a/playbooks/openshift-apps/mirrormanager.yml +++ b/playbooks/openshift-apps/mirrormanager.yml @@ -12,6 +12,7 @@ - /srv/web/infra/ansible/vars/global.yml - /srv/private/ansible/vars.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + - /srv/web/infra/ansible/vars/apps/mirrormanager.yml tasks: - name: DB user @@ -35,6 +36,7 @@ - /srv/web/infra/ansible/vars/global.yml - /srv/private/ansible/vars.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + - /srv/web/infra/ansible/vars/apps/mirrormanager.yml roles: - role: rabbit/user diff --git a/vars/apps/mirrormanager.yml b/vars/apps/mirrormanager.yml new file mode 100644 index 0000000000..52938299a8 --- /dev/null +++ b/vars/apps/mirrormanager.yml @@ -0,0 +1,4 @@ +--- +mirrormanager_db_host: "db01{{ env_suffix }}" +# Move that to an env var to target a specific deployment +mm2_checkin: false