25 lines
585 B
YAML
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}}"
|
||
|
|
||
|
|
||
|
|
||
|
|