diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f5b0964..ca9c9e5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -100,7 +100,7 @@ jobs: needs: - build_and_push - branch_meta - uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main + uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-7854-ansible-tags with: branch: ${{ needs.branch_meta.outputs.branch }} secrets: diff --git a/ansible/roles/shd-client-core/tasks/main.yml b/ansible/roles/shd-client-core/tasks/main.yml index b37580d..2eedffd 100644 --- a/ansible/roles/shd-client-core/tasks/main.yml +++ b/ansible/roles/shd-client-core/tasks/main.yml @@ -3,6 +3,8 @@ kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: svc.yml.j2 + tags: + - service - name: Configmap kubernetes.core.k8s: @@ -10,15 +12,21 @@ namespace: "{{ NAMESPACE }}" template: configmap.yml.j2 apply: yes + tags: + - configmap - 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