restart.yml 432 B

123456789101112131415
  1. ---
  2. - import_playbook: validate_restart.yml
  3. - name: Restart masters
  4. hosts: oo_masters_to_config
  5. serial: 1
  6. roles:
  7. - openshift_facts
  8. post_tasks:
  9. - include_tasks: tasks/restart_hosts.yml
  10. when: openshift_rolling_restart_mode | default('services') == 'system'
  11. - import_role:
  12. name: openshift_control_plane
  13. tasks_from: restart.yml
  14. when: openshift_rolling_restart_mode | default('services') == 'services'