7ad296e74f
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2624|23|2601|18|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/338//ansiblelint">Evolix » ansible-roles » unstable #338</a>
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit ec4fd5d27f
.
24 lines
507 B
YAML
24 lines
507 B
YAML
---
|
|
|
|
- name: check if main.cf is default
|
|
ansible.builtin.shell:
|
|
cmd: 'grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum -'
|
|
changed_when: False
|
|
check_mode: no
|
|
register: default_main_cf
|
|
tags:
|
|
- postfix
|
|
|
|
- name: add lines in /etc/.gitignore
|
|
ansible.builtin.lineinfile:
|
|
dest: /etc/.gitignore
|
|
line: '{{ item }}'
|
|
state: present
|
|
create: no
|
|
loop:
|
|
- "postfix/sa-blacklist.access"
|
|
- "postfix/*.db"
|
|
tags:
|
|
- postfix
|
|
- etc-git
|