7 lines
241 B
YAML
7 lines
241 B
YAML
- name: Start service
|
|
ansible.builtin.command:
|
|
cmd: docker compose up -d
|
|
chdir: "{{ service_path }}"
|
|
when: "'local-dev' != inventory_hostname"
|
|
register: cmd_result
|
|
changed_when: "cmd_result.stderr | regex_search('Started$')"
|