Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docker package sometimes fail #19

Merged
merged 4 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions envs/include_role/ubuntu/install_docker.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down