Change the with_first_found order.
This commit is contained in:
parent
ba3afd0da3
commit
3f768e3edf
2 changed files with 6 additions and 4 deletions
|
@ -26,8 +26,8 @@
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- {{private}}/httpd/{{name}}.cert
|
- "{{cert}}"
|
||||||
- {{cert}}
|
- "{{private}}/httpd/{{name}}.cert"
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
tags:
|
tags:
|
||||||
|
@ -42,8 +42,8 @@
|
||||||
group=root
|
group=root
|
||||||
mode=0600
|
mode=0600
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- {{private}}/httpd/{{name}}.key
|
- "{{key}}"
|
||||||
- {{key}}
|
- "{{private}}/httpd/{{name}}.key"
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
tags:
|
tags:
|
||||||
|
|
2
roles/httpd/certificate/vars/main.yml
Normal file
2
roles/httpd/certificate/vars/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cert: this-file-does-not-exist-and-must-be-overridden
|
||||||
|
key: this-file-does-not-exist-and-must-be-overridden
|
Loading…
Add table
Add a link
Reference in a new issue