From df8e5924980ed875274873ca2100181f26b88263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Mon, 10 Dec 2018 08:55:16 +0100 Subject: [PATCH] Restart openshift master services after stack update For some configs changes, such as the identity providers, it is necessary to restart the master services in order for them to take effect. Change-Id: I6ecb054d0e18acc4dc422a7ce136432d5135c64c Closes-Bug: #1807668 --- extraconfig/services/openshift-master.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extraconfig/services/openshift-master.yaml b/extraconfig/services/openshift-master.yaml index 7d56dfdfc9..4ae8aaa102 100644 --- a/extraconfig/services/openshift-master.yaml +++ b/extraconfig/services/openshift-master.yaml @@ -371,6 +371,13 @@ outputs: # Re-run the deploy playbook to apply potential change # changes to existing nodes - include: "{{openshift_ansible_playbook_path}}" + - name: Restart masters + hosts: masters + serial: 1 + tasks: + - import_role: + name: /usr/share/ansible/openshift-ansible/roles/openshift_control_plane + tasks_from: restart.yml {% endif %} - name: set openshift command