From 54d9112e25242d9b27f2d9d6cdbe7b687da16439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Montagne?= Date: Thu, 11 May 2023 12:02:58 +0200 Subject: [PATCH] feat: :zap: Display tags list + tags optimisation --- admin-tools/get-credentials.yaml | 34 ++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/admin-tools/get-credentials.yaml b/admin-tools/get-credentials.yaml index 84085563..f85999b7 100644 --- a/admin-tools/get-credentials.yaml +++ b/admin-tools/get-credentials.yaml @@ -4,6 +4,24 @@ gather_facts: false tasks: + - name: Display tags list + ansible.builtin.debug: + msg: + - "List of available tags for convenience" + - "(Can also be retrieved with the --list-tags option on ansible-playbook run) :" + - "" + - "keycloak" + - "nexus" + - "sonar (or sonarqube)" + - "gitlab" + - "vault" + - "sops" + - "argo (or argocd)" + - "harbor" + - "console (or console-pi)" + tags: + - always + - name: Get socle config kubernetes.core.k8s_info: kind: ConfigMap @@ -43,14 +61,22 @@ name: credential-dso-adminexample.com-{{ KEYCLOAK_NAMESPACE }} register: keycloak_user_creds tags: - - always + - gitlab + - argo + - argocd + - console + - console-pi - - name: Set Keycloak user facts + - name: Set Keycloak DSO user facts ansible.builtin.set_fact: keycloak_user: "{{ keycloak_user_creds.resources[0].data.username | b64decode }}" keycloak_user_password: "{{ keycloak_user_creds.resources[0].data.password | b64decode }}" tags: - - always + - gitlab + - argo + - argocd + - console + - console-pi - name: Get Keycloak ingress kubernetes.core.k8s_info: @@ -160,8 +186,8 @@ - "Admin username: {{ keycloak_user }} " - "Admin password: {{ keycloak_user_password }} " tags: - - argocd - argo + - argocd - name: Display Harbor URL and credentials ansible.builtin.debug: