Revert "postfix: Move common packages installation in common.yml"
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
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
.
This commit is contained in:
parent
1b6700925c
commit
7ad296e74f
|
@ -1,14 +1,5 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Postfix packages are installed
|
|
||||||
ansible.builtin.apt:
|
|
||||||
name:
|
|
||||||
- postfix
|
|
||||||
- mailgraph
|
|
||||||
state: present
|
|
||||||
tags:
|
|
||||||
- postfix
|
|
||||||
|
|
||||||
- name: check if main.cf is default
|
- name: check if main.cf is default
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: 'grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum -'
|
cmd: 'grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum -'
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
---
|
---
|
||||||
|
- name: ensure packages are installed
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: postfix
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- postfix
|
||||||
|
|
||||||
- name: create minimal main.cf
|
- name: create minimal main.cf
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
---
|
---
|
||||||
- name: Complementary packmail packages are installed
|
- name: ensure packages are installed
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
|
- postfix
|
||||||
- postfix-ldap
|
- postfix-ldap
|
||||||
- postfix-policyd-spf-python
|
- postfix-policyd-spf-python
|
||||||
|
- mailgraph
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- postfix
|
- postfix
|
||||||
|
|
Loading…
Reference in a new issue