diff --git a/roles/haproxy/files/ipa.production-phx2.pem b/roles/haproxy/files/ipa.production.pem similarity index 100% rename from roles/haproxy/files/ipa.production-phx2.pem rename to roles/haproxy/files/ipa.production.pem diff --git a/roles/haproxy/files/ipa.staging-phx2.pem b/roles/haproxy/files/ipa.staging.pem similarity index 100% rename from roles/haproxy/files/ipa.staging-phx2.pem rename to roles/haproxy/files/ipa.staging.pem diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index ac3192ba6f..99ecb04f0d 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -36,7 +36,8 @@ dest={{ item.dest }} owner=root group=root mode=0600 with_items: - - { file: "ipa.{{env}}-rdu3.pem", dest: /etc/haproxy/ipa.pem } + # this one does not necessarily change when we move DCs, due to replication + - { file: "ipa.{{env}}.pem", dest: /etc/haproxy/ipa.pem } - { file: "ocp.{{env_short}}-rdu3.pem", dest: "/etc/haproxy/ocp-{{env_short}}.pem" } - { file: "ocp.{{env_short}}-rdu3.pem", dest: "/etc/haproxy/ocp-{{env_short}}-rdu3.pem" } tags: