forked from saltstack-formulas/letsencrypt-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillar.example
38 lines (36 loc) · 1.16 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
letsencrypt:
use_package: true # Install using packages instead of git
pkgs: # A list of package/s to install. Check https://certbot.eff.org/all-instructions
- python-certbot-apache # to find the correct name for the variant you want to use. Usually, you'll
# need a single one, but you can also add other plugins here
cli_install_dir: /opt/letsencrypt # Only used for the git install method
config: |
server = https://acme-v01.api.letsencrypt.org/directory
email = [email protected]
authenticator = webroot
webroot-path = /var/lib/www
agree-tos = True
renew-by-default = True
config_dir:
path: /etc/letsencrypt
user: root
group: root
mode: 755
domainsets:
www:
- example.com
- www.example.com
mail:
- imap.example.com
- smtp.example.com
- mail.example.com
intranet:
- intranet.example.com
post_renew:
cmds:
- service nginx reload
- service haproxy reload
cron:
minute: 10
hour: 2
dayweek: 1