Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
properly escape regex (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
uplexPaul authored and jdauphant committed Oct 24, 2018
1 parent d963e1b commit eab7209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@
assemble:
dest: "{{ ssl_certs_combined_path }}"
src: "{{ ssl_certs_path }}"
regexp: "({{ ssl_certs_privkey_path | basename }}|{{ ssl_certs_cert_path | basename }})"
regexp: "({{ (ssl_certs_privkey_path | basename) | regex_escape }}|{{ (ssl_certs_cert_path | basename) | regex_escape }})"
tags: [ssl-certs,configuration]

0 comments on commit eab7209

Please sign in to comment.