Add webdis service

This commit is contained in:
Tobias Reisinger 2025-01-31 02:48:53 +01:00
parent 57fe2ed42c
commit a27a157e22
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 89 additions and 0 deletions
playbooks/roles/webdis/tasks

View file

@ -0,0 +1,20 @@
---
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
- name: Deploy {{ role_name }}
vars:
svc: "{{ webdis_svc }}"
compose: "{{ webdis_compose }}"
block:
- name: Import prepare tasks for common service
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
- name: Copy the config
ansible.builtin.copy:
src: webdis.json
dest: "{{ (service_path, 'webdis.json') | path_join }}"
mode: "0755"
- name: Import start tasks for common service
ansible.builtin.import_tasks: tasks/start-common-service.yml