This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/tinytinyrss/tasks/main.yml

22 lines
654 B
YAML
Raw Normal View History

2023-12-11 00:42:57 +00:00
---
2023-12-14 01:20:13 +00:00
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
2023-12-11 00:42:57 +00:00
- name: Deploy {{ svc.name }}
2023-12-14 01:20:13 +00:00
vars:
svc: "{{ tinytinyrss_svc }}"
env: "{{ tinytinyrss_env }}"
compose: "{{ tinytinyrss_compose }}"
2023-12-11 00:42:57 +00:00
block:
2023-12-13 01:43:15 +00:00
- name: Import prepare tasks for common service
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
2023-12-11 00:42:57 +00:00
- name: Copy the nginx-config
ansible.builtin.copy:
src: nginx.conf
dest: "{{ (service_path, 'nginx.conf') | path_join }}"
2023-12-13 01:43:15 +00:00
mode: "0644"
2023-12-11 00:42:57 +00:00
2023-12-13 01:43:15 +00:00
- name: Import start tasks for common service
ansible.builtin.import_tasks: tasks/start-common-service.yml