2023-05-05 23:52:24 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- include_tasks: present.yml
|
|
|
|
|
|
|
|
- name: Build Service
|
|
|
|
community.docker.docker_compose:
|
|
|
|
project_src: "{{ service_dir | mandatory }}"
|
|
|
|
state: present
|
|
|
|
restarted: true
|
|
|
|
recreate: smart
|
|
|
|
build: true
|
|
|
|
remove_orphans: true
|
2023-06-05 22:20:18 +02:00
|
|
|
profiles: docker_profiles
|
2023-05-05 23:52:24 +02:00
|
|
|
when: (compose_files.changed and execute == "smart") or execute == "always"
|
2023-06-05 22:20:18 +02:00
|
|
|
|
|
|
|
# vim: ft=yaml.ansible
|