We want email to work. Add a default value so that integration tests work - and update the template so that if the value in the alias mapping is empty we don't write out a half-formed alias. Enable the epel repo on CentOS nodes in base-repos. This is done in install_puppet.sh, but install_puppet.sh doesn't get run on ansible-only nodes. Change-Id: I68ad9f66c3b8672d9642c7764e50adac9cafdaf9changes/64/589964/12
parent
67b77279f5
commit
a4a134815c
@ -0,0 +1,21 @@
|
||||
- name: Install epel-release
|
||||
yum:
|
||||
name: epel-release
|
||||
|
||||
# there is a bug (rhbz#1261747) where systemd can fail to enable
|
||||
# services due to selinux errors after upgrade. A work-around is
|
||||
# to install the latest version of selinux and systemd here and
|
||||
# restart the daemon for good measure after it is upgraded.
|
||||
- name: Install latest selinux-policy and systemd
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
loop:
|
||||
- selinux-policy
|
||||
- systemd
|
||||
register: systemd_updated
|
||||
|
||||
- name: Restart systemd
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when: systemd_updated|changed
|
@ -0,0 +1,4 @@
|
||||
- name: Install Exim
|
||||
package:
|
||||
state: present
|
||||
name: '{{ package }}'
|
Loading…
Reference in new issue