Ajout ubuntu
This commit is contained in:
+6
-5
@@ -2,24 +2,25 @@
|
||||
# tasks file for roles/zabbix-server
|
||||
- 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"
|
||||
dest: "/root/debian{{ zabbix_debian_version }}_all.deb"
|
||||
url: "https://repo.zabbix.com/zabbix/{{ zabbix_server_version }}/release/{{ ansible_distribution|lower }}/pool/main/z/zabbix-release/zabbix-release_latest+{{ ansible_distribution|lower }}{{ ansible_distribution_version }}_all.deb"
|
||||
dest: "/root/{{ ansible_distribution|lower }}{{ ansible_distribution_version }}_all.deb"
|
||||
|
||||
- name: "Installation fichier DPKG"
|
||||
ansible.builtin.apt:
|
||||
deb: "/root/debian{{ zabbix_debian_version }}_all.deb"
|
||||
deb: "/root/{{ ansible_distribution|lower }}{{ ansible_distribution_version }}_all.deb"
|
||||
|
||||
- name: "Mise à jour repository APT et install packages"
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
pkg:
|
||||
- acl
|
||||
- nginx
|
||||
- zabbix-server-pgsql
|
||||
- zabbix-frontend-php
|
||||
- "php{{ zabbix_phpfpm_version }}-pgsql"
|
||||
- zabbix-nginx-conf
|
||||
- zabbix-sql-scripts
|
||||
- zabbix-agent
|
||||
- zabbix-agent2
|
||||
- postgresql
|
||||
- sudo
|
||||
- python3-psycopg2
|
||||
@@ -89,4 +90,4 @@
|
||||
- nginx
|
||||
- "php{{ zabbix_phpfpm_version }}-fpm"
|
||||
- zabbix-server
|
||||
- zabbix-agent
|
||||
- zabbix-agent2
|
||||
|
||||
Reference in New Issue
Block a user