summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/disable_excluder.yml
blob: b2e025cb89a97a71c4b4bf0f01717c2cf1036e70 (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: l_oo_all_hosts
  gather_facts: no
  tasks:

  # During installation the excluders are installed with present state.
  # So no pre-validation check here as the excluders are either to be installed (present = latest)
  # or they are not going to be updated if already installed

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