Fix haproxy bundle generation

This fixes the `certificates` command to not include CSRs in
the haproxy bundle.
The regex was wrong.

Change-Id: If25a6d5dd40f507fea4470be01baeeb7c8a790b4
This commit is contained in:
Radosław Piliszek 2020-10-08 16:57:16 +02:00
parent 6c5e9321e4
commit 3f9d30a28f
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
- name: Creating external Server PEM File
assemble:
regexp: '.*[crt|key]'
regexp: \.(crt|key)$
src: "{{ external_dir }}"
dest: "{{ kolla_external_fqdn_cert }}"
mode: "0660"
@ -128,7 +128,7 @@
- name: Creating internal Server PEM File
assemble:
regexp: '.*[crt|key]'
regexp: \.(crt|key)$
src: "{{ internal_dir }}"
dest: "{{ kolla_internal_fqdn_cert }}"
mode: "0660"