summaryrefslogtreecommitdiffstats
path: root/ansible/roles/certificates/tasks/generate-certificates.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-14 14:44:46 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-22 08:49:24 +0200
commit26f5bfa99fb95c2a40b8d672e9166744303c0fec (patch)
tree0300c015e696d4ba79a211980fda48cedbafeea0 /ansible/roles/certificates/tasks/generate-certificates.yml
parentef5433325af08acb5e28615dfbb492af6e3db326 (diff)
[ANSIBLE 3.2.0] Fix regex pattern in 'certificates' role
[MOLECULE] Add verifier test for SubjectAlternativeName validation Issue-ID: OOM-2722 Change-Id: I8ff9fb88d5166f3d5eba5f364f9110b3b12cd47e Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/certificates/tasks/generate-certificates.yml')
-rw-r--r--ansible/roles/certificates/tasks/generate-certificates.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/certificates/tasks/generate-certificates.yml b/ansible/roles/certificates/tasks/generate-certificates.yml
index 43b774bc..d2a9f4ec 100644
--- a/ansible/roles/certificates/tasks/generate-certificates.yml
+++ b/ansible/roles/certificates/tasks/generate-certificates.yml
@@ -59,7 +59,7 @@
extended_key_usage:
- serverAuth
subject_alt_name:
- "{{ all_simulated_hosts | map('regex_replace', '(.*)', 'DNS:\\1') | list }}"
+ "{{ all_simulated_hosts | map('regex_replace', '^(.*)$', 'DNS:\\1') | list }}"
- name: Sign Nexus certificate
openssl_certificate: