Add webdis to ansible
This commit is contained in:
parent
afe85702a6
commit
24ca76cd60
6 changed files with 42 additions and 29 deletions
_ansible/roles/webdis/tasks
14
_ansible/roles/webdis/tasks/main.yml
Normal file
14
_ansible/roles/webdis/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Deploy {{ svc.name }}
|
||||
tags:
|
||||
- webdis
|
||||
block:
|
||||
- import_tasks: steps/create-service-directory.yml
|
||||
|
||||
- name: Copy the config
|
||||
ansible.builtin.copy:
|
||||
src: webdis.json
|
||||
dest: "{{ (service_path, 'webdis.json') | path_join }}"
|
||||
mode: '0755'
|
||||
|
||||
- import_tasks: deploy-common-service.yml
|
Reference in a new issue