We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b44d6 commit edbc41bCopy full SHA for edbc41b
molecule/resources/playbooks/prepare.yml
@@ -11,6 +11,16 @@
11
12
13
pre_tasks:
14
+
15
+ - name: Remove docker repos - workaround for ansible-role-docker/issues/434
16
+ ansible.builtin.shell: |
17
+ rm /etc/apt/sources.list.d/docker.list
18
+ rm /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list
19
+ when: ansible_os_family == 'Debian'
20
+ ignore_errors: true
21
+ register: cmd_output
22
+ changed_when: cmd_output.rc != 0
23
24
- name: Update apt cache
25
ansible.builtin.apt:
26
update_cache: true
0 commit comments