summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-12 14:40:29 -0500
committerGitHub <noreply@github.com>2017-12-12 14:40:29 -0500
commite2a6cde4f4e7d4a003950afc388f2cb60414c775 (patch)
tree7d2987a0d340b8f7f1feb17f15278fc5de8cb9be /roles/openshift_node/tasks
parent549bd2c81da98333e229f8afb467aa909917a8a4 (diff)
parente1df3b6ba7b78255c8022468e9ad1a32255e5e59 (diff)
downloadopenshift-e2a6cde4f4e7d4a003950afc388f2cb60414c775.tar.gz
openshift-e2a6cde4f4e7d4a003950afc388f2cb60414c775.tar.bz2
openshift-e2a6cde4f4e7d4a003950afc388f2cb60414c775.tar.xz
openshift-e2a6cde4f4e7d4a003950afc388f2cb60414c775.zip
Merge pull request #6407 from mgugino-upstream-stage/crt-upgrades
Refactor upgrade codepaths step 1
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/docker/upgrade.yml15
1 files changed, 0 insertions, 15 deletions
diff --git a/roles/openshift_node/tasks/docker/upgrade.yml b/roles/openshift_node/tasks/docker/upgrade.yml
index c13a6cf6c..bbe9c71f5 100644
--- a/roles/openshift_node/tasks/docker/upgrade.yml
+++ b/roles/openshift_node/tasks/docker/upgrade.yml
@@ -2,7 +2,6 @@
# input variables:
# - openshift_service_type
# - openshift.common.is_containerized
-# - docker_upgrade_nuke_images
# - docker_version
# - skip_docker_restart
@@ -12,20 +11,6 @@
- debug: var=docker_image_count.stdout
-# TODO(jchaloup): put all docker_upgrade_nuke_images into a block with only one condition
-- name: Remove all containers and images
- script: nuke_images.sh
- register: nuke_images_result
- when: docker_upgrade_nuke_images is defined and docker_upgrade_nuke_images | bool
-
-- name: Check Docker image count
- shell: "docker images -aq | wc -l"
- register: docker_image_count
- when: docker_upgrade_nuke_images is defined and docker_upgrade_nuke_images | bool
-
-- debug: var=docker_image_count.stdout
- when: docker_upgrade_nuke_images is defined and docker_upgrade_nuke_images | bool
-
- service:
name: docker
state: stopped