forked from infra/ansible
[postfix] Don't install postfix-lmdb on RHEL < 8
The RHEL/EPEL 8 doesn't have postfix-lmdb package, so let's skip it for older releases. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
eeeaaadd9e
commit
f40260df77
1 changed files with 3 additions and 1 deletions
|
|
@ -9,8 +9,9 @@
|
|||
|
||||
- name: Make sure postfix-lmdb is installed
|
||||
ansible.builtin.package:
|
||||
state: presend
|
||||
state: present
|
||||
name: postfix-lmdb
|
||||
when: not (ansible_distribution == "RedHat" and ansible_distribution_major_version <= "8")
|
||||
tags:
|
||||
- postfix
|
||||
- base
|
||||
|
|
@ -42,6 +43,7 @@
|
|||
name: domain_can_mmap_files
|
||||
state: true
|
||||
persistent: true
|
||||
when: not (ansible_distribution == "RedHat" and ansible_distribution_major_version <= "8")
|
||||
notify:
|
||||
- Restart postfix
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue