ansible/roles/ulogd2/tasks/main.yml

25 lines
379 B
YAML
Raw Normal View History

2021-03-03 03:02:53 +01:00
---
- name: Install ulogd2
become: true
apt:
name: ulogd2
state: latest
- name: Configure ulogd2
become: true
template:
src: ulogd.conf.j2
dest: /etc/ulogd.conf
owner: root
group: root
mode: u=rw,g=r,o=
notify: Restart ulogd2
- name: Enable ulogd2
become: true
systemd:
name: ulogd.service
enabled: true
state: started
...