Update to 2021-09-23 11:00

master
Daniel Berteaud 3 years ago
parent f4466ce490
commit 6f9b5625a7
  1. 17
      roles/common/tasks/system.yml
  2. 9
      roles/zabbix_agent/tasks/install_RedHat.yml

@ -117,23 +117,6 @@
state: "{{ (system_disable_syslog | default(False)) | ternary('stopped','started') }}"
enabled: "{{ (system_disable_syslog | default(False)) | ternary(False,True) }}"
- name: Remove systemd-journal-upload
yum: name=systemd-journal-gateway state=absent
when: ansible_os_family == 'RedHat'
- name: Remove systemd-journal-upload
apt: name=systemd-journal-remote state=absent
when: ansible_os_family == 'Debian'
- name: Remove Journal upload state directory
file: path=/var/lib/systemd/journal-upload state=absent
- name: Remove journal-upload configuration
file: path={{ item }} state=absent
loop:
- /etc/systemd/journal-upload.conf
- /etc/systemd/system/systemd-journal-upload.service
- name: Remove old bash aliases script
file: path=/etc/profile.d/bash_aliases.sh state=absent

@ -1,13 +1,4 @@
---
# Packages from fws provides a "zabbix" package.
# But upgrading this one with the packages from Zabbix repo will
# pull all the servers and proxies packages, which we do not want
- name: Remove old zabbix package
yum:
name:
- zabbix
state: absent
tags: zabbix
- name: Install Zabbix Agent and additional scripts
yum:

Loading…
Cancel
Save