-
Notifications
You must be signed in to change notification settings - Fork 2
/
certbot.yml
48 lines (45 loc) · 878 Bytes
/
certbot.yml
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
39
40
41
42
43
44
45
46
47
48
---
- name: "Install certbot"
apt:
name: ["certbot"]
tags:
- certbot
- name: "Create crontab"
template:
src: certbot.cron
dest: /etc/cron.d/
owner: root
group: root
mode: u=rw,go=r
tags:
- certbot
- name: "Obtain initial certificate (Android)"
command:
args:
argv:
- "certbot"
- "certonly"
- "--agree-tos"
- "-m"
- "{{ certbot_account_email }}"
- "--standalone"
- "-d"
- "{{ push_domain }}"
creates: /etc/letsencrypt/live/{{ push_domain }}/privkey.pem
tags:
- certbot
- name: "Obtain initial certificate (iOS)"
command:
args:
argv:
- "certbot"
- "certonly"
- "--agree-tos"
- "-m"
- "{{ certbot_account_email }}"
- "--standalone"
- "-d"
- "{{ ios_push_domain }}"
creates: /etc/letsencrypt/live/{{ ios_push_domain }}/privkey.pem
tags:
- certbot