16 lines
213 B
YAML
16 lines
213 B
YAML
|
---
|
||
|
- name: Install Nginx
|
||
|
apt:
|
||
|
pkg:
|
||
|
- nginx
|
||
|
- certbot
|
||
|
- python3-certbot-nginx
|
||
|
|
||
|
- name: Enable Nginx service
|
||
|
systemd:
|
||
|
name: nginx
|
||
|
daemon_reload: yes
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
|