diff --git a/tasks/running.yml b/tasks/running.yml index a11f21a..aff5594 100644 --- a/tasks/running.yml +++ b/tasks/running.yml @@ -2,6 +2,16 @@ - include_tasks: present.yml +- name: Start Service + community.docker.docker_compose_v2: + project_src: "{{ service_dir | mandatory }}" + pull: "policy" + state: running + recreate: "auto" + build: "never" + profiles: docker_profiles + remove_orphans: true + - name: Restart Service community.docker.docker_compose_v2: project_src: "{{ service_dir | mandatory }}"