diff --git a/.ansible-lint b/.ansible-lint index 11de5ffc..4d7cc159 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -4,5 +4,6 @@ skip_list: - name[casing] # Upper letter rule - name[template] # jinja rule is not valid - package-latest # Unfortunately I do want update to latest without version specification + - schema[vars] # macos detect wrong error on defaults - yaml[indentation] - yaml[line-length] # don't think line-length is important diff --git a/envs/include_role/ubuntu/install_docker.yaml b/envs/include_role/ubuntu/install_docker.yaml index fb9c3e5c..4283ef13 100644 --- a/envs/include_role/ubuntu/install_docker.yaml +++ b/envs/include_role/ubuntu/install_docker.yaml @@ -1,5 +1,14 @@ # docker # see: https://docs.docker.com/engine/install/ubuntu/ + +# workaround for "Conflicting values set for option Signed-By" +# see: https://github.com/docker/for-linux/issues/1349 +- name: "docker - delete conflicting package file" + become: true + ansible.builtin.file: + path: "/etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list" + state: absent + - name: "docker - make sure install prerequisites" become: true ansible.builtin.apt: