Skip to content

Commit 18107de

Browse files
authored
HE: Add an ansible task to enable and start postfix service on SHE hosts (#741)
Issue: On the SHE host ovirt-ha-agent logs are filled with mail notification errors Fix: Add an ansible task to enable and start postfix service on SHE hosts Signed-off-by: ShubhaOracle <[email protected]>
1 parent 1e9cb3d commit 18107de

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- Enable and start postfix service so that ovirt-ha-agent logs are not filled with mail notification errors (https://github.com/oVirt/ovirt-ansible-collection/pull/741)

roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@
217217
register: host_result_up_check
218218
ignore_errors: true
219219

220+
- name: Enable postfix service
221+
ansible.builtin.service:
222+
name: postfix
223+
enabled: true
224+
state: started
225+
register: postfix_service_status
226+
ignore_errors: true
227+
220228
- name: Handle deployment failure
221229
block:
222230
- name: Set host_id

0 commit comments

Comments
 (0)