Commit 7375aa87 authored by godog's avatar godog

docker: cleanup docker apt sources

parent 20b46a12
......@@ -4,11 +4,6 @@
url: https://download.docker.com/linux/debian/gpg
state: absent
- name: Remove docker.com package repository
apt_repository:
repo: "deb [arch=amd64] {% if apt_proxy is defined %}http://{{ apt_proxy }}/HTTPS/{% else %}https:{% endif %}//download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
state: absent
- name: Remove docker packages
apt:
name: "{{ packages }}"
......@@ -23,6 +18,7 @@
dest: "{{ item }}"
state: absent
with_items:
- /etc/apt/sources.list.d/download_docker_com_linux_debian.list
- /etc/docker
- /usr/local/bin/docker-cleanup
- /etc/cron.d/docker-cleanup
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment