14 lines
319 B
YAML
14 lines
319 B
YAML
---
|
|
|
|
- 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
|
|
when: (compose_files.changed and execute == "smart") or execute == "always"
|