summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
blob: 02042c1efb98aaa3965a81586753076e95521bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: Record excluder state and disable
  hosts: oo_masters_to_config:oo_nodes_to_config
  gather_facts: no
  tasks:
  # verify the excluders can be upgraded
  - include_role:
      name: openshift_excluder
      tasks_from: verify_upgrade

  # disable excluders based on their status
  - include_role:
      name: openshift_excluder
      tasks_from: disable
    vars:
      openshift_excluder_package_state: latest
      docker_excluder_package_state: latest