summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-10-18 12:01:46 -0400
committerMichael Gugino <mgugino@redhat.com>2017-10-18 12:01:46 -0400
commit605ed502a247b8fc2d6717104d5ddca3c2122d83 (patch)
treeb31f3848035e436a07e9f1a6a61d337c1b6597a3 /playbooks/common
parent8ef9ee879216d3ce0309daf980f06817a8489f30 (diff)
downloadopenshift-605ed502a247b8fc2d6717104d5ddca3c2122d83.tar.gz
openshift-605ed502a247b8fc2d6717104d5ddca3c2122d83.tar.bz2
openshift-605ed502a247b8fc2d6717104d5ddca3c2122d83.tar.xz
openshift-605ed502a247b8fc2d6717104d5ddca3c2122d83.zip
Ensure upgrades apply latest journald settings
Currently, existing clusters might not have journald configurations applied. This may result in a rate- limiting of important log messages on openshift-masters. This commit ensures that journald settings are applied during the upgrade process openshif-masters. Fixes: https://github.com/openshift/openshift-ansible/issues/5642
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index c37a5f9ab..de4ba45cb 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -90,6 +90,9 @@
- include_vars: ../../../../roles/openshift_master/vars/main.yml
+ - name: Update journald config
+ include: ../../../../roles/openshift_master/tasks/journald.yml
+
- name: Remove any legacy systemd units and update systemd units
include: ../../../../roles/openshift_master/tasks/systemd_units.yml