fc692cf65b
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.
This is an improvement from the previously reverted commit
1728eaee68
.
21 lines
349 B
YAML
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
|