|
|
|
|
37
|
service: name=apache2 state=stopped
|
37
|
service: name=apache2 state=stopped
|
38
|
|
38
|
|
39
|
- name: Get an SSL certificate for {{ domain }} from Let's Encrypt
|
39
|
- name: Get an SSL certificate for {{ domain }} from Let's Encrypt
|
40
|
- script: letsencrypt-gencert {{ domain }}
|
|
|
41
|
- args:
|
|
|
42
|
- creates: /etc/letsencrypt/live/{{ domain }}/privkey.pem
|
|
|
|
|
40
|
+ script: letsencrypt-gencert {{ domain }} creates=/etc/letsencrypt/live/{{ domain }}/privkey.pem
|
43
|
when: ansible_ssh_user != "vagrant"
|
41
|
when: ansible_ssh_user != "vagrant"
|
44
|
|
42
|
|
45
|
- name: Modify permissions to allow ssl-cert group access
|
43
|
- name: Modify permissions to allow ssl-cert group access
|