|
@@ -60,9 +60,15 @@
|
|
|
- openshift_facts
|
|
|
- openshift_docker
|
|
|
|
|
|
-- include: ../openshift-cluster/disable_excluder.yml
|
|
|
+- name: Disable excluders
|
|
|
+ hosts: oo_masters_to_config
|
|
|
tags:
|
|
|
- always
|
|
|
+ gather_facts: no
|
|
|
+ tasks:
|
|
|
+ - include_role:
|
|
|
+ name: openshift_excluder
|
|
|
+ tasks_from: disable
|
|
|
|
|
|
- include: ../openshift-master/config.yml
|
|
|
|
|
@@ -70,6 +76,12 @@
|
|
|
|
|
|
- include: ../openshift-node/config.yml
|
|
|
|
|
|
-- include: ../openshift-cluster/reset_excluder.yml
|
|
|
+- name: Re-enable excluder if it was previously enabled
|
|
|
+ hosts: oo_masters_to_config
|
|
|
tags:
|
|
|
- always
|
|
|
+ gather_facts: no
|
|
|
+ tasks:
|
|
|
+ - include_role:
|
|
|
+ name: openshift_excluder
|
|
|
+ tasks_from: enable
|