From 5439681a39b21887d10e008762e8b2243aae6dfe Mon Sep 17 00:00:00 2001 From: "Christian M. Adams" Date: Wed, 28 Apr 2021 02:32:43 -0400 Subject: [PATCH] Fix rebase issue due to order or pg config tasks --- roles/installer/tasks/database_configuration.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/installer/tasks/database_configuration.yml b/roles/installer/tasks/database_configuration.yml index 9c24b1fb..ef26b715 100644 --- a/roles/installer/tasks/database_configuration.yml +++ b/roles/installer/tasks/database_configuration.yml @@ -64,6 +64,10 @@ set_fact: pg_config: '{{ _generated_pg_config_resources["resources"] | default([]) | length | ternary(_generated_pg_config_resources, _pg_config) }}' +- name: Set actual postgres configuration secret used + set_fact: + postgres_configuration_secret: "{{ pg_config['resources'][0]['metadata']['name'] }}" + - block: - name: Create Database if no database is specified k8s: