ansible-pet/1/roles/nginx/tasks/certbot.yml

15 lines
234 B
YAML
Raw Normal View History

2021-02-27 15:01:00 +03:00
---
- 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