From ccca453ac318725f3c87235fa9c2bda4c3507963 Mon Sep 17 00:00:00 2001 From: Nicolas Lang Date: Wed, 30 Jul 2025 14:49:59 +0200 Subject: [PATCH] Correction erreurs chemin template --- tasks/main.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8bfe2b6..1fdc5b0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,12 +1,5 @@ --- # tasks file for roles/zabbix-server -- name: "Configuration locales" - community.general.locale_gen: - name: - - fr_FR.UTF-8 - - en_US.UTF-8 - state: present - - name: "Téléchargement fichier .deb" ansible.builtin.get_url: url: "https://repo.zabbix.com/zabbix/{{ zabbix_server_version }}/release/debian/pool/main/z/zabbix-release/zabbix-release_latest+debian{{ zabbix_debian_version }}_all.deb" @@ -53,7 +46,7 @@ - name: "Configuration zabbix_server.conf via template" ansible.builtin.template: - src: /root/ansible/roles/zabbix-server/templates/zabbix_server.conf.j2 + src: roles/zabbix-server/templates/zabbix_server.conf.j2 dest: /etc/zabbix/zabbix_server.conf - name: "Retrait présence infos de config" @@ -81,7 +74,7 @@ - name: "Copie fichier template" ansible.builtin.template: - src: /root/ansible/roles/zabbix-server/templates/zabbix.conf.php.j2 + src: roles/zabbix-server/templates/zabbix.conf.php.j2 dest: /usr/share/zabbix/ui/conf/zabbix.conf.php owner: www-data group: www-data