Update to 2021-07-13 19:00

master
Daniel Berteaud 3 years ago
parent 1aed26618b
commit afd2cfc5e4
  1. 10
      roles/common/vars/Debian-11.yml
  2. 60
      roles/fusioninventory_agent/tasks/install_Debian.yml
  3. 6
      roles/letsencrypt/vars/Debian-11.yml
  4. 6
      roles/ntp_client/vars/Debian-11.yml
  5. 3
      roles/repo_zabbix/tasks/Debian.yml
  6. 4
      roles/rsync_server/vars/Debian-11.yml
  7. 14
      roles/zabbix_agent/vars/Debian-11.yml

@ -0,0 +1,10 @@
---
system_distro_utils:
- apt-transport-https
- openssh-client
- netcat
- xz-utils
- liblz4-tool
- sshfs
- zstd

@ -1,28 +1,38 @@
---
- name: Install dependencies
apt:
name:
- dmidecode
- hwdata
- ucf
- hdparm
- perl
- libuniversal-require-perl
- libwww-perl
- libparse-edid-perl
- libproc-daemon-perl
- libproc-pid-file-perl
- libfile-which-perl
- libxml-treepp-perl
- libyaml-perl
- libnet-cups-perl
- libnet-ip-perl
- libdigest-sha-perl
- libsocket-getaddrinfo-perl
- libtext-template-perl
- when: ansible_distribution_major_version is version('11', '<')
block:
- name: Install dependencies
apt:
name:
- dmidecode
- hwdata
- ucf
- hdparm
- perl
- libuniversal-require-perl
- libwww-perl
- libparse-edid-perl
- libproc-daemon-perl
- libproc-pid-file-perl
- libfile-which-perl
- libxml-treepp-perl
- libyaml-perl
- libnet-cups-perl
- libnet-ip-perl
- libdigest-sha-perl
- libsocket-getaddrinfo-perl
- libtext-template-perl
- name: Install fusioninventory
apt: deb=http://ftp.fr.debian.org/debian/pool/main/f/fusioninventory-agent/fusioninventory-agent_{{ fusinv_deb_version }}_all.deb
environment:
- http_proxy: "{{ system_proxy | default('') }}"
- when: ansible_distribution_major_version is version('11', '>=')
block:
- name: Install FusionInventory Agent
apt:
name:
- fusioninventory-agent
- name: Install fusioninventory
apt: deb=http://ftp.fr.debian.org/debian/pool/main/f/fusioninventory-agent/fusioninventory-agent_{{ fusinv_deb_version }}_all.deb
environment:
- http_proxy: "{{ system_proxy | default('') }}"

@ -0,0 +1,6 @@
---
letsencrypt_packages:
- python3-pip
- python3-setuptools
- curl

@ -0,0 +1,6 @@
---
ntp_ntpd_service: ntp
ntp_chrony_service: chrony
ntp_chrony_conf: /etc/chrony/chrony.conf
ntp_chrony_keyfile: /etc/chrony/chrony.keys

@ -8,6 +8,7 @@
- name: Add Zabbix repo
apt_repository:
repo: deb http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/debian {{ ansible_distribution_release }} main
# Waiting for Zabbix repo to support bullseye, point it to buster
repo: deb http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/debian {{ (ansible_distribution_release == 'bullseye') | ternary('buster',ansible_distribution_release) }} main
filename: zabbix
tags: repo

@ -0,0 +1,4 @@
---
rsync_packages:
- rsync

@ -0,0 +1,14 @@
---
zabbix_agent_packages:
- zabbix-agent
- openssl
- git
- libconfig-simple-perl
- libjson-perl
- libfile-which-perl
- smartmontools
- lm-sensors
- patch
- fping
- libstatistics-descriptive-perl
Loading…
Cancel
Save