Refactor relative task paths into absolute path
This commit is contained in:
parent
2889413196
commit
1e7242427a
1 changed files with 112 additions and 111 deletions
|
|
@ -1,14 +1,14 @@
|
|||
---
|
||||
- name: Import tasks to create service directory
|
||||
ansible.builtin.import_tasks: tasks/steps/create-service-directory.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/create-service-directory.yml"
|
||||
|
||||
- name: Import tasks to template compose file
|
||||
ansible.builtin.import_tasks: tasks/steps/template-compose.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-compose.yml"
|
||||
when: compose is defined
|
||||
|
||||
- name: Import tasks to create a .env file
|
||||
ansible.builtin.import_tasks: tasks/steps/template-service-env.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-service-env.yml"
|
||||
when: env is defined
|
||||
|
||||
- name: Import tasks to restore volume
|
||||
ansible.builtin.import_tasks: tasks/restore-volumes.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/restore-volumes.yml"
|
||||
|
|
|
|||
Loading…
Reference in a new issue