summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node/scaleup.yml
blob: b1bbbb14cdc77bb91f8f826cf9737fdbb811c367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: Disable excluders
  hosts: oo_nodes_to_config
  tags:
  - always
  gather_facts: no
  roles:
  - role: openshift_excluder
    r_openshift_excluder_action: disable
    r_openshift_excluder_service_type: "{{ openshift.common.service_type }}"

- include: ../openshift-node/config.yml

- name: Re-enable excluder if it was previously enabled
  hosts: oo_nodes_to_config
  tags:
  - always
  gather_facts: no
  roles:
  - role: openshift_excluder
    r_openshift_excluder_action: enable
    r_openshift_excluder_service_type: "{{ openshift.common.service_type }}"