Commit f7ff704d authored by nanahira's avatar nanahira

fix docker

parent 9448b4fb
......@@ -12,7 +12,7 @@
name: docker,docker-engine,docker.io,containerd,runc
state: absent
autoremove: yes
purge: no
purge: yes
when: ansible_os_family == 'Debian' and ansible_distribution_release|lower != 'focal'
- name: clean apt Docker for Focal
become: true
......@@ -20,7 +20,7 @@
name: docker-ce,docker-ee
state: absent
autoremove: yes
purge: no
purge: yes
when: ansible_os_family == 'Debian' and ansible_distribution_release|lower == 'focal'
- name: Docker apt 源公钥
become: true
......
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