diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index d49316ef..8a790f6c 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -1,10 +1,7 @@ --- - name: Ensure old versions of Docker are not installed. package: - name: - - docker - - docker-common - - docker-engine + name: "{{ docker_obsolete_packages }}" state: absent - name: Add Docker GPG key. diff --git a/vars/Fedora.yml b/vars/Fedora.yml new file mode 100755 index 00000000..4631e191 --- /dev/null +++ b/vars/Fedora.yml @@ -0,0 +1,12 @@ +--- +docker_install_compose_plugin: false +docker_obsolete_packages: + - docker + - docker-engine + - docker-common + # - docker + # - docker-compose + # - docker-compose-plugin + # - docker-ce + # - docker-ce-cli + # - docker-ce-rootless-extras