|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|