Premier commit

This commit is contained in:
phil
2023-12-18 23:20:30 +01:00
parent ec25c6dba9
commit 62ef5fa4e9
577 changed files with 46490 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
---
- name: Installation d'HAproxy
apt:
name:
- haproxy
state: present
- name: Copie du fichier de configuration
copy:
src: haproxy.cfg
dest: /etc/haproxy/haproxy.cfg
notify:
- restart haproxy
- name:
file:
path: /root/script
state: directory
- name: Copie du fichier actu.sh
copy:
src: actu.sh
dest: /root/script/
- name: On rend exécutable le script actu.sh
file:
path: /root/script/actu.sh
mode: 0777