ansible-roles/apache/tasks/log2mail.yml
David Prevot fafff25c20
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Add “when: not ansible_check_mode” to allow more --check
2022-12-02 17:40:43 +01:00

21 lines
349 B
YAML

---
- name: log2mail is installed
apt:
name: log2mail
state: present
tags:
- apache
when: not ansible_check_mode
- name: Add log2mail config for Apache segfaults
template:
src: log2mail-apache.j2
dest: "/etc/log2mail/config/apache"
owner: log2mail
group: adm
mode: "0644"
force: no
tags:
- apache