21 lines
654 B
YAML
21 lines
654 B
YAML
---
|
|
- name: Set common facts
|
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
|
|
|
- name: Deploy {{ svc.name }}
|
|
vars:
|
|
svc: "{{ tinytinyrss_svc }}"
|
|
env: "{{ tinytinyrss_env }}"
|
|
compose: "{{ tinytinyrss_compose }}"
|
|
block:
|
|
- name: Import prepare tasks for common service
|
|
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
|
|
|
- name: Copy the nginx-config
|
|
ansible.builtin.copy:
|
|
src: nginx.conf
|
|
dest: "{{ (service_path, 'nginx.conf') | path_join }}"
|
|
mode: "0644"
|
|
|
|
- name: Import start tasks for common service
|
|
ansible.builtin.import_tasks: tasks/start-common-service.yml
|