From 015df8dc652a58eed27157e9c78b44cc33ede1da Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 15 Nov 2019 03:40:05 +0000 Subject: [PATCH] postfix / base: work around s390x bug in private devices. https://bugzilla.redhat.com/show_bug.cgi?id=1769148 Signed-off-by: Kevin Fenzi --- roles/base/tasks/postfix.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/base/tasks/postfix.yml b/roles/base/tasks/postfix.yml index c1fb6e8fd7..27efb891d1 100644 --- a/roles/base/tasks/postfix.yml +++ b/roles/base/tasks/postfix.yml @@ -40,6 +40,18 @@ - config - base +- name: work around s390 privatedevices bug + ini_file: + path: /usr/lib/systemd/system/postfix.service + section: service + option: PrivateDevices + value: false + when: inventory_hostname.startswith('buildvm-s390x') + tags: + - postfix + - config + - base + - name: enable postfix to start service: name=postfix state=started enabled=true tags: