Commit 19fbeacd authored by nono's avatar nono 💻
Browse files

Ajout de dépendances pour fail2ban

parent 3ebb075d
......@@ -5,17 +5,24 @@
enabled: yes
name: fail2ban
- name: Création des dossier log nginx
file:
path: "/var/log/nginx"
state: directory
owner: www-data
group: www-data
- name: Création des fichiers de error log nginx
file:
path: "/var/log/nginx/error.log"
state: present
state: touch
owner: www-data
group: www-data
- name: Création des fichiers de access log nginx
file:
path: "/var/log/nginx/access.log"
state: present
state: touch
owner: www-data
group: www-data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment