e8716e742e
If we move these into a subdir, it cleans up the number of things we nave to files match on. Stop running disable-puppet-agent in base. We run it in run-puppet which should be fine. Change-Id: Ia16adb96b11d25a097490882c4c59a50a0b7b23d
24 lines
629 B
YAML
24 lines
629 B
YAML
- 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: "{{ package_item }}"
|
|
state: latest
|
|
loop:
|
|
- selinux-policy
|
|
- systemd
|
|
loop_control:
|
|
loop_var: package_item
|
|
register: systemd_updated
|
|
|
|
- name: Restart systemd
|
|
systemd:
|
|
daemon_reload: yes
|
|
when: systemd_updated is changed
|