Skip to content

Commit

Permalink
HE: Add an ansible task to enable and start postfix service on SHE ho…
Browse files Browse the repository at this point in the history
…sts (#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 <Shubha.kulkarni@oracle.com>
  • Loading branch information
shubhaOracle committed Mar 12, 2024
1 parent 1e9cb3d commit 18107de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/741-enable-and-start-postfix-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- 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)
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@
register: host_result_up_check
ignore_errors: true

- name: Enable postfix service
ansible.builtin.service:
name: postfix
enabled: true
state: started
register: postfix_service_status
ignore_errors: true

- name: Handle deployment failure
block:
- name: Set host_id
Expand Down

0 comments on commit 18107de

Please sign in to comment.