Skip to content

Commit

Permalink
unexclude excluder if it is to be upgraded and already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Apr 6, 2017
1 parent b930b55 commit 96276a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/openshift_excluder/tasks/disable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
# - docker_excluder_package_state
- include: init.yml

# unexclude the current openshift/origin-excluder if it is installed so it can be updated
- include: unexclude.yml
vars:
unexclude_docker_excluder: false
unexclude_openshift_excluder: "{{ openshift_excluder_on | bool }}"
when:
- not openshift.common.is_atomic | bool

# Install any excluder that is enabled
- include: install.yml
vars:
Expand Down

0 comments on commit 96276a3

Please sign in to comment.