Skip to content

Commit

Permalink
BC-7854 - split Ansible Jobs by Tags (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Aug 19, 2024
1 parent d17900f commit 78d1db6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ansible/roles/tldraw-client-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
namespace: "{{ NAMESPACE }}"
template: tldraw-client-svc.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- service

- name: tldraw client configmap
kubernetes.core.k8s:
Expand All @@ -12,18 +14,24 @@
template: tldraw-client-configmap.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- configmap

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

- name: tldraw client ingress
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-ingress.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- ingress

0 comments on commit 78d1db6

Please sign in to comment.