Skip to content

Commit

Permalink
Correct way to fix docker-compose timeout bug workaround docker/compo…
Browse files Browse the repository at this point in the history
  • Loading branch information
d3vilh committed May 4, 2023
1 parent 15250fd commit 884a124
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
when:
- ansible_facts.os_family == "Archlinux"

# Docker-compose timeout bug workaround https://github.com/docker/compose/issues/3927
- name: Docker-compose timeout WA
shell: 'export DOCKER_CLIENT_TIMEOUT=180 && export COMPOSE_HTTP_TIMEOUT=180'
ignore_errors: true

handlers:
- name: Include handlers
ansible.builtin.import_tasks: tasks/handlers.yml
Expand Down
5 changes: 5 additions & 0 deletions tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
state: started
enabled: true

# docker-compose timeout bug workaround https://github.com/docker/compose/issues/3927
- name: Apply docker-compose timeout WA
shell: 'export DOCKER_CLIENT_TIMEOUT=180 && export COMPOSE_HTTP_TIMEOUT=180'
ignore_errors: true

- name: Ensure dependencies are installed (Debian).
ansible.builtin.apt:
name:
Expand Down

0 comments on commit 884a124

Please sign in to comment.