infra/playbooks/alpha/update-musical-maurice.yml
2021-11-30 23:12:49 -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}}"