Skip to content

Commit

Permalink
BC-7906 - Replace WITH_TLDRAW2 with WITH_TLDRAW in ansible conditions (
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax authored Dec 12, 2024
1 parent 3f70a32 commit 25d11ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ansible/roles/tldraw-server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
state: "{{ 'present' if WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool else 'absent'}}"
when:
- EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool
- WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

Expand All @@ -17,7 +17,7 @@
template: onepassword.yml.j2
when:
- ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool
- WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

Expand All @@ -28,7 +28,7 @@
template: configmap.yml.j2
when:
- ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool
- WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- configmap

Expand All @@ -37,7 +37,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: deployment.yml.j2
state: "{{ 'present' if WITH_TLDRAW2 else 'absent'}}"
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- deployment

Expand All @@ -46,7 +46,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: worker-deployment.yml.j2
state: "{{ 'present' if WITH_TLDRAW2 else 'absent'}}"
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- deployment

Expand All @@ -55,7 +55,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: server-svc.yml.j2
when: WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- service

Expand All @@ -64,7 +64,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: pod-monitor.yml.j2
when: WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- prometheus

Expand All @@ -74,6 +74,6 @@
namespace: "{{ NAMESPACE }}"
template: ingress.yml.j2
apply: yes
when: WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- ingress

0 comments on commit 25d11ec

Please sign in to comment.