Correction erreurs chemin template
This commit is contained in:
+2
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user