metrics-for-apps: add ocp4 prod CA cert to haproxy

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-09-08 12:32:42 +09:00
parent 6ba659a130
commit 4e8fa0e687
2 changed files with 73 additions and 106 deletions

View file

@ -49,6 +49,14 @@
- haproxy
when: env == "staging"
- name: install ocp api pem cert
copy: src={{ private }}/files/httpd/api-int.ocp{{ env_suffix }}.fedoraproject.org.pem
dest=/etc/haproxy/ocp4.pem
owner=root group=root mode=0600
tags:
- haproxy
when: env == "production"
- name: install libsemanage
package:
state: present