summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/disable_excluder.yml
blob: f664c51c99e9ea161ae040381695fdf2d1a4f10b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: Disable excluders
  hosts: oo_masters_to_config:oo_nodes_to_config
  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