Fix broken Fedora 27 test, clean up uninstall task.

This commit is contained in:
Jeff Geerling
2018-10-22 23:32:38 -05:00
parent a42939be87
commit d3afc01efc
5 changed files with 12 additions and 29 deletions

View File

@@ -1,11 +1,10 @@
---
- name: Ensure old versions of Docker are not installed.
package:
name: '{{ item }}'
name:
- docker
- docker-engine
state: absent
with_items:
- docker
- docker-engine
- name: Ensure dependencies are installed.
apt:

View File

@@ -1,12 +1,11 @@
---
- name: Ensure old versions of Docker are not installed.
package:
name: '{{ item }}'
name:
- docker
- docker-common
- docker-engine
state: absent
with_items:
- docker
- docker-common
- docker-engine
- name: Add Docker GPG key.
rpm_key: