Uninstall old versions of Docker
This commit is contained in:
parent
36e8683cf5
commit
2dfa928c90
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- docker
|
- docker
|
||||||
- docker-engine
|
- docker-engine
|
||||||
|
- docker.io
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Debian'
|
- ansible_os_family == 'Debian'
|
||||||
- (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
|
- (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
|
||||||
|
@ -19,6 +20,12 @@
|
||||||
- docker-common
|
- docker-common
|
||||||
- docker-engine
|
- docker-engine
|
||||||
- docker-selinux
|
- docker-selinux
|
||||||
|
- docker-client
|
||||||
|
- docker-client-latest
|
||||||
|
- docker-latest
|
||||||
|
- docker-latest-logrotate
|
||||||
|
- docker-logrotate
|
||||||
|
- docker-engine-selinux
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
- (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
|
- (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
|
||||||
|
|
Loading…
Reference in a new issue