diff options
author | Russell Teague <rteague@redhat.com> | 2017-08-23 16:45:01 -0400 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-08-29 08:14:37 -0400 |
commit | d8191cbd7a66fc2ba8b4d3cafeccc19afca76850 (patch) | |
tree | a7a03b9ebcfbe0c0826630af5dee9b28b092b416 /playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml | |
parent | ab7b515d8ed8576b23147e64e4da73e6dea41df7 (diff) | |
download | openshift-d8191cbd7a66fc2ba8b4d3cafeccc19afca76850.tar.gz openshift-d8191cbd7a66fc2ba8b4d3cafeccc19afca76850.tar.bz2 openshift-d8191cbd7a66fc2ba8b4d3cafeccc19afca76850.tar.xz openshift-d8191cbd7a66fc2ba8b4d3cafeccc19afca76850.zip |
Test: Fail on entry point playbooks in common
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml deleted file mode 100644 index 808cc562c..000000000 --- a/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# We need docker service up to remove all the images, but these services will keep -# trying to re-start and thus re-pull the images we're trying to delete. -- name: Stop containerized services - service: name={{ item }} state=stopped - with_items: - - "{{ openshift.common.service_type }}-master-api" - - "{{ openshift.common.service_type }}-master-controllers" - - "{{ openshift.common.service_type }}-node" - - etcd_container - - openvswitch - failed_when: false - when: openshift.common.is_containerized | bool - -- name: Check Docker image count - shell: "docker images -aq | wc -l" - register: docker_image_count - -- debug: var=docker_image_count.stdout - -- 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 - register: l_pb_docker_upgrade_stop_result - until: not l_pb_docker_upgrade_stop_result | failed - retries: 3 - delay: 30 - -- name: Upgrade Docker - package: name=docker{{ '-' + docker_version }} state=present - -- include: restart.yml - when: not skip_docker_restart | default(False) | bool |