diff --git a/roles/common/tasks/system.yml b/roles/common/tasks/system.yml index 5e54ebf..6114845 100644 --- a/roles/common/tasks/system.yml +++ b/roles/common/tasks/system.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 diff --git a/roles/zabbix_agent/tasks/install_RedHat.yml b/roles/zabbix_agent/tasks/install_RedHat.yml index ac03659..4657a11 100644 --- a/roles/zabbix_agent/tasks/install_RedHat.yml +++ b/roles/zabbix_agent/tasks/install_RedHat.yml @@ -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: