Skip to content
Open
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
4 changes: 4 additions & 0 deletions ansible/roles/docker/tasks/compose-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
project_src: "{{ project_source }}"
files: "{{ [compose_file] if compose_file is defined else omit }}"
remove_orphans: true # Remove orphans to ensure deleted containers won't later be checked to be running

# build: always will still use cached layers, but will also consistently
# build new images if the source files or configuration has changed.
build: "{{ build | default('always') }}"
register: "output"

# - name: Show results
Expand Down