fix modify the way of the command 'yum remove xxx', e.g. docker-selinux and docker-engine-selinux packages

This commit is contained in:
Yumo Yang 2018-10-31 17:16:35 +08:00
parent d269e7f46c
commit 5da18854a3

View file

@ -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'))