infrastructure/templates/new_role/tasks/main.yml

12 lines
398 B
YAML

---
- name: Set common facts
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
- name: Deploy {{ service_name }}
vars:
svc: "{{ NEW_ROLE_NAME_svc }}"
env: "{{ NEW_ROLE_NAME_env }}"
compose: "{{ NEW_ROLE_NAME_compose }}"
block:
- name: Import tasks to deploy common service
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"