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
This commit is contained in:
Martin André 2018-12-10 08:55:16 +01:00
parent bb1a1209ac
commit df8e592498
1 changed files with 7 additions and 0 deletions

View File

@ -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