From c525d52d81c7a24761183c6d0424a2d28faac4e0 Mon Sep 17 00:00:00 2001 From: srwadleigh <7832+srwadleigh@users.noreply.github.com> Date: Thu, 11 Jul 2024 00:11:46 +0000 Subject: [PATCH] restore previous post deplopyment ordering --- tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a13fa1d..b5b035f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -113,6 +113,14 @@ tags: - k8s-get-kubeconf + - name: include secret block + ansible.builtin.include_tasks: "shared/secrets.yml" + when: + - k8s_node_type == "bootstrap" + - k8s_secrets is defined + tags: + - k8s-apply-secrets + - name: include manifest block ansible.builtin.include_tasks: "shared/manifests.yml" when: @@ -128,14 +136,6 @@ - k8s_charts is defined tags: - k8s-apply-charts - - - name: include secret block - ansible.builtin.include_tasks: "shared/secrets.yml" - when: - - k8s_node_type == "bootstrap" - - k8s_secrets is defined - tags: - - k8s-apply-secrets # END Post Deployments when: