infrastructure/playbooks/tasks/prepare-common-service.yml

14 lines
551 B
YAML

---
- name: Import tasks to create service directory
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/create-service-directory.yml"
- name: Import tasks to template compose file
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-compose.yml"
when: compose is defined
- name: Import tasks to create a .env file
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-service-env.yml"
when: env is defined
- name: Import tasks to restore volume
ansible.builtin.include_tasks: "{{ tasks_dir }}/restore-volumes.yml"