Skip to content
Snippets Groups Projects
Commit 8b89f3e2 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Configure journal-upload only on Debian ≥Stretch

parent ba0d2553
No related branches found
No related tags found
No related merge requests found
- name: Install systemd-journal-remote
apt:
name: systemd-journal-remote
state: present
tags:
- journal-upload
- packages
- name: Configure only on Debian ≥Stretch
when: ansible_distribution_major_version|int >= 9
block:
- name: Install systemd-journal-remote
apt:
name: systemd-journal-remote
state: present
tags:
- journal-upload
- packages
- name: Configure systemd-journal-upload
template:
dest: /etc/systemd/journal-upload.conf
src: journal-upload.conf
tags:
- journal-upload
- config
- name: Configure systemd-journal-upload
template:
dest: /etc/systemd/journal-upload.conf
src: journal-upload.conf
tags:
- journal-upload
- config
- name: Enable journal-upload service
systemd:
name: systemd-journal-upload.service
enabled: yes
state: started
tags:
- journal-upload
- service
- name: Enable journal-upload service
systemd:
name: systemd-journal-upload.service
enabled: yes
state: started
tags:
- journal-upload
- service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment