15 lines
290 B
YAML
15 lines
290 B
YAML
---
|
|
- name: Installer Nginx et Certbot
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
name:
|
|
- nginx
|
|
- certbot
|
|
- python3-certbot-nginx
|
|
state: present
|
|
|
|
- name: Activer et démarrer Nginx
|
|
ansible.builtin.service:
|
|
name: nginx
|
|
state: started
|
|
enabled: true
|