15 lines
234 B
YAML
15 lines
234 B
YAML
|
---
|
||
|
|
||
|
- name: Install certbot package
|
||
|
apt:
|
||
|
name: ['certbot', 'python3-certbot-nginx']
|
||
|
state: present
|
||
|
|
||
|
- name: Get certs using certbot
|
||
|
shell: echo "cock"
|
||
|
|
||
|
- name: start nginx
|
||
|
service:
|
||
|
name: nginx
|
||
|
state: restarted
|