infra/playbooks/alpha/chatbots/update-musical-maurice.yml

25 lines
585 B
YAML
Raw Normal View History

2021-12-01 07:12:49 +00:00
---
- hosts: alpha
remote_user: ubuntu
become: yes
become_method: sudo
tasks:
- name: Setup Musical Maurice
community.docker.docker_container:
name: maurice
image: codetheweb/muse
pull: yes
restart_policy: always
recreate: yes
volumes:
- "{{MUSE_DATA_DIR}}:/data"
env:
DISCORD_TOKEN: "{{DISCORD_TOKEN_MAURICE}}"
SPOTIFY_CLIENT_ID: "{{SPOTIFY_CLIENT_ID}}"
SPOTIFY_CLIENT_SECRET: "{{SPOTIFY_CLIENT_SECRET}}"
YOUTUBE_API_KEY: "{{YOUTUBE_API_KEY}}"