|
|
|
@ -49,6 +49,19 @@
|
|
|
|
|
mode: 0644
|
|
|
|
|
notify: Reload haproxy
|
|
|
|
|
|
|
|
|
|
# Copy in testing CA so the container can see it. When running under
|
|
|
|
|
# Zuul this CA is created by the test framework. We use it to
|
|
|
|
|
# validate the https check path
|
|
|
|
|
- name: Check for OpenDev Infra CA (test only)
|
|
|
|
|
stat:
|
|
|
|
|
path: /etc/opendev-ca/ca.crt
|
|
|
|
|
register: _opendev_ca_crt
|
|
|
|
|
- name: Copy in OpenDev Infra CA (test only)
|
|
|
|
|
copy:
|
|
|
|
|
src: /etc/opendev-ca/ca.crt
|
|
|
|
|
dest: /var/haproxy/etc/
|
|
|
|
|
when: _opendev_ca_crt.stat.exists
|
|
|
|
|
|
|
|
|
|
- name: Ensure docker compose configuration directory
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/haproxy-docker
|
|
|
|
|