initial commit with redbot and vaultwarden migrated
This commit is contained in:
commit
15c1b9c2ea
18 changed files with 267 additions and 0 deletions
18
roles/redbot/tasks/main.yml
Normal file
18
roles/redbot/tasks/main.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
- name: Ensure data directory exists
|
||||
ansible.builtin.file:
|
||||
path: '{{ data_directory }}'
|
||||
state: directory
|
||||
owner: '{{ service_user }}'
|
||||
group: '{{ service_user }}'
|
||||
mode: '700'
|
||||
|
||||
- name: Deploy Redbot
|
||||
ansible.builtin.import_role:
|
||||
name: compose-service
|
||||
vars:
|
||||
docker_volumes:
|
||||
- '{{ data_directory }}:/data'
|
||||
docker_env:
|
||||
TOKEN: '{{ discord_token }}'
|
||||
PREFIX: '{{ bot_prefix }}'
|
||||
use_docker_user: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue