infra/playbooks/alpha/chatbots/update-musical-maurice.yml
2021-12-26 18:09:13 -08:00

25 lines
585 B
YAML

---
- 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}}"