generated from ansible/ansible_template
remove the docker snap if installed
This commit is contained in:
parent
c475d39f9e
commit
e4c185b067
|
@ -1,3 +1,10 @@
|
|||
- name: "Remove Docker snap package"
|
||||
community.general.snap:
|
||||
name: "docker"
|
||||
state: absent
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
|
||||
- name: "Add apt key for Docker"
|
||||
apt_key:
|
||||
url: "https://download.docker.com/linux/ubuntu/gpg"
|
||||
|
|
Reference in New Issue