Skip to content

Commit

Permalink
BC-7854 - split Ansible Jobs by Tags (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Aug 19, 2024
1 parent 3d5cfe6 commit 30427af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/h5p-staticfiles-server-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
namespace: "{{ NAMESPACE }}"
template: svc.yml.j2
when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool
tags:
- service

- name: Configmap
kubernetes.core.k8s:
Expand All @@ -12,10 +14,14 @@
template: configmap.yml.j2
apply: yes
when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool
tags:
- configmap

- name: Deployment
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: deployment.yml.j2
when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool
tags:
- deployment

0 comments on commit 30427af

Please # to comment.