Add start-service task
This commit is contained in:
parent
e5ab5b2d00
commit
96fd62dc3d
7 changed files with 11 additions and 3 deletions
_ansible/tasks
|
@ -2,3 +2,4 @@
|
|||
- import_tasks: steps/template-docker-compose.yml
|
||||
- import_tasks: steps/template-service-env.yml
|
||||
- import_tasks: steps/template-site-config.yml
|
||||
- import_tasks: steps/start-service.yml
|
||||
|
|
4
_ansible/tasks/steps/start-service.yml
Normal file
4
_ansible/tasks/steps/start-service.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Start service
|
||||
ansible.builtin.command:
|
||||
cmd: docker compose up -d
|
||||
chdir: "{{ service_path }}"
|
Reference in a new issue