File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 66
66
--agree-tos
67
67
68
68
--keep-until-expiring
69
- --cert-name {{ canonical_hostname }}
69
+ --cert-name {{ item }}
70
70
--dns-digitalocean
71
71
--dns-digitalocean-credentials /etc/letsencrypt/certbot-creds.ini
72
- --domain "*.{{ canonical_hostname }}"
73
- --domain "{{ canonical_hostname }}"
72
+ --domain "*.{% if 'staging' in group_names %}dev.{% endif %}{{ item }}"
73
+ --domain "{% if 'staging' in group_names %}dev.{% endif %}{{ item }}"
74
74
--deploy-hook "systemctl reload nginx"
75
+ with_items : {{ domains }}
75
76
register : " certbot_output"
76
77
changed_when : " 'no action taken' not in certbot_output.stdout"
77
78
Original file line number Diff line number Diff line change
1
+ ---
2
+ domains :
3
+ - " svsticky.nl"
4
+ - " stickyutrecht.nl"
5
+ - " studieverenigingsticky.nl"
6
+ - " stichtingsticky.nl"
7
+ - " intro-cs.nl"
8
+ - " savadaba.nl"
9
+ - " dgdarc.com"
10
+ - " execut.nl"
11
+ - " execute.nl"
You can’t perform that action at this time.
0 commit comments