Skip to content

Commit 8b78430

Browse files
Installing mailx should check for RedHat, not postfix
1 parent cdce1d7 commit 8b78430

File tree

1 file changed

+1
-1
lines changed
  • ansible/roles/root-aliases/tasks

1 file changed

+1
-1
lines changed

ansible/roles/root-aliases/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{%- endfor %}
1414
notify: newaliases
1515
- name: Install mailx
16-
when: preferred_mta == "postfix"
16+
when: ansible_os_family == "RedHat"
1717
dnf:
1818
name: mailx
1919
state: present

0 commit comments

Comments
 (0)