summaryrefslogtreecommitdiffstats
path: root/roles/clients/tasks/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/clients/tasks/config.yml')
-rw-r--r--roles/clients/tasks/config.yml40
1 files changed, 32 insertions, 8 deletions
diff --git a/roles/clients/tasks/config.yml b/roles/clients/tasks/config.yml
index 6a823f7..fe67236 100644
--- a/roles/clients/tasks/config.yml
+++ b/roles/clients/tasks/config.yml
@@ -1,20 +1,44 @@
-- name: Installation des unités systemd
+- name: Installation des unités systemd divers
copy:
src: "{{ item }}"
dest: /etc/systemd/system/
mode: 0644
with_items:
- capslock-led-heartbeat.service
- - arp-poisoning-eno1.service
- - arp-poisoning-enp6s0.service
- - arp-watcher-eno1.service
- - arp-watcher-enp6s0.service
- - passerelle-dump-eno1.service
- - passerelle-dump-enp6s0.service
- - passerelle-dump-virbr0.service
- dnf-makecache.timer
notify: reload systemd
+- name: Installation des unités systemd de monitoring
+ copy:
+ src: "{{ item[0] }}-{{ item[1] }}.service"
+ dest: /etc/systemd/system/
+ mode: 0644
+ with_nested:
+ - [ 'arp-poisoning', 'arp-watcher' ]
+ - [ 'eno1', 'enp6s0' ]
+ notify: reload systemd
+
+- name: Installation des unités systemd de capture
+ copy:
+ src: "passerelle-dump-{{ item }}.service"
+ dest: /etc/systemd/system/
+ mode: 0644
+ with_items:
+ - eno1
+ - enp6s0
+ - virbr0
+ notify: reload systemd
+
+- name: Installation des unités systemd de dev
+ copy:
+ src: "{{ item[0] }}-{{ item[1] }}.service"
+ dest: /etc/systemd/system/
+ mode: 0644
+ with_nested:
+ - [ 'apache', 'mariadb', 'memcached', 'php-fpm' ]
+ - [ 'casper-site', 'cirrus', 'jays-site' ]
+ notify: reload systemd
+
- name: Configuration leds de dracut
copy:
src: led_modules.conf