This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
roles/certbot: add alternate fqdns variable
python3
Zolfa
5 years ago
parent
3707cf056e
commit
19f07539e0
Signed by:
zolfa
GPG Key ID:
E1A43B038C4D6616
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
roles/certbot/defaults/main.yaml
+3
-0
roles/certbot/tasks/main.yaml
+ 1
- 0
roles/certbot/defaults/main.yaml
View File
@ -1,3 +1,4 @@
---
webserver_name
:
'nginx'
certbot_site_alternate_fqdns
:
[
]
...
+ 3
- 0
roles/certbot/tasks/main.yaml
View File
@ -26,6 +26,9 @@
--
email {{ letsencrypt_email }}
--
preferred-challenges http
-
d {{ certbot_site_fqdn }}
{
% for fqdn in certbot_site_alternate_fqdns %}
-
d {{ fqdn }}
{
% endfor %}
-
n
args:
creates
:
'/etc/letsencrypt/live/{{ certbot_site_fqdn }}/cert.pem'
Write
Preview
Loading…
Cancel
Save