From ed648b22205299f327b1cbedf7975541f756dfae Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:37:19 +0200 Subject: [PATCH] BC-7854 - split Ansible Jobs by Tags (#262) --- ansible/roles/superhero-dashboard/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ansible/roles/superhero-dashboard/tasks/main.yml b/ansible/roles/superhero-dashboard/tasks/main.yml index 6ddf63e..de7e010 100644 --- a/ansible/roles/superhero-dashboard/tasks/main.yml +++ b/ansible/roles/superhero-dashboard/tasks/main.yml @@ -3,6 +3,8 @@ kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: svc.yml.j2 + tags: + - service - name: Configmap kubernetes.core.k8s: @@ -10,6 +12,8 @@ namespace: "{{ NAMESPACE }}" template: configmap.yml.j2 apply: yes + tags: + - configmap - name: Secret by 1Password kubernetes.core.k8s: @@ -17,6 +21,8 @@ namespace: "{{ NAMESPACE }}" template: onepassword.yml.j2 when: ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool + tags: + - 1password - name: Secret basic auth by 1Password kubernetes.core.k8s: @@ -24,16 +30,22 @@ namespace: "{{ NAMESPACE }}" template: onepassword_basic_auth.yml.j2 when: ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool + tags: + - 1password - name: Deployment kubernetes.core.k8s: kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: deployment.yml.j2 + tags: + - deployment - name: Ingress kubernetes.core.k8s: kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: ingress.yml.j2 + tags: + - ingress