Skip to content

Commit cd3208d

Browse files
committed
Cast pulp_enable_tls to bool everywhere
1 parent 0ab0acb commit cd3208d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/kayobe/containers/pulp/pre.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
become: true
2222

2323
- name: Configure TLS for local Pulp
24-
when: pulp_enable_tls
24+
when: pulp_enable_tls | bool
2525
become: true
2626
block:
2727
- name: Ensure /opt/kayobe/containers/pulp/certs exists

etc/kayobe/seed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ seed_pulp_container:
9696
image: pulp/pulp
9797
pre: "{{ kayobe_config_path }}/containers/pulp/pre.yml"
9898
post: "{{ kayobe_config_path }}/containers/pulp/post.yml"
99-
tag: "{{ '3.16-https' if pulp_enable_tls else '3.16' }}"
99+
tag: "{{ '3.16-https' if pulp_enable_tls | bool else '3.16' }}"
100100
network_mode: host
101101
volumes:
102102
- /opt/kayobe/containers/pulp:/etc/pulp

0 commit comments

Comments
 (0)