Browse Source

fixes for docker reset (#8966)

pull/8975/head
orange-llajeanne 2 years ago
committed by GitHub
parent
commit
4eb83bb7f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/container-engine/docker/tasks/reset.yml

2
roles/container-engine/docker/tasks/reset.yml

@ -40,6 +40,7 @@
- docker - docker
- docker.socket - docker.socket
- containerd - containerd
when: docker_packages_list|length>0
- name: Docker | Remove dpkg hold - name: Docker | Remove dpkg hold
dpkg_selections: dpkg_selections:
@ -98,6 +99,7 @@
- /etc/systemd/system/containerd.service.d - /etc/systemd/system/containerd.service.d
- /var/lib/docker - /var/lib/docker
- /etc/docker - /etc/docker
ignore_errors: true # noqa ignore-errors
- name: Docker | systemctl daemon-reload # noqa 503 - name: Docker | systemctl daemon-reload # noqa 503
systemd: systemd:

Loading…
Cancel
Save