From 5da18854a314b55547776634d29878ae0d62c986 Mon Sep 17 00:00:00 2001 From: Yumo Yang Date: Wed, 31 Oct 2018 17:16:35 +0800 Subject: [PATCH] fix modify the way of the command 'yum remove xxx', e.g. docker-selinux and docker-engine-selinux packages --- roles/container-engine/docker/tasks/pre-upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/container-engine/docker/tasks/pre-upgrade.yml b/roles/container-engine/docker/tasks/pre-upgrade.yml index 9d5d27ef6..07d5f3f59 100644 --- a/roles/container-engine/docker/tasks/pre-upgrade.yml +++ b/roles/container-engine/docker/tasks/pre-upgrade.yml @@ -19,13 +19,13 @@ - docker - docker-common - docker-engine - - docker-selinux + - docker-selinux.noarch - docker-client - docker-client-latest - docker-latest - docker-latest-logrotate - docker-logrotate - - docker-engine-selinux + - docker-engine-selinux.noarch when: - ansible_os_family == 'RedHat' - (docker_versioned_pkg[docker_version | string] | search('docker-ce'))