! Lewdlad & MusicalMaurice now setup
This commit is contained in:
parent
a8ddf88d00
commit
ffbd1ceee5
@ -27,7 +27,7 @@
|
||||
become: yes
|
||||
become_method: sudo
|
||||
apt_repository:
|
||||
repo: deb https://download.docker.com/linux/ubuntu/gpg buster stable
|
||||
repo: deb https://download.docker.com/linux/ubuntu impish stable
|
||||
state: present
|
||||
|
||||
- name: Install Docker components
|
||||
|
18
playbooks/alpha/setup-docker-plugin.yml
Normal file
18
playbooks/alpha/setup-docker-plugin.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
- hosts: alpha
|
||||
remote_user: ubuntu
|
||||
tasks:
|
||||
- name: Install Pip3
|
||||
become: yes
|
||||
become_method: sudo
|
||||
apt:
|
||||
name: python3-pip
|
||||
update_cache: yes
|
||||
|
||||
- name: Install Docker Pip Package
|
||||
become: yes
|
||||
become_method: sudo
|
||||
pip:
|
||||
name: docker
|
||||
|
||||
|
22
playbooks/alpha/update-lewdlad.yml
Normal file
22
playbooks/alpha/update-lewdlad.yml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
- hosts: alpha
|
||||
remote_user: ubuntu
|
||||
become: yes
|
||||
become_method: sudo
|
||||
tasks:
|
||||
- name: Setup lewdlad on latest image
|
||||
community.docker.docker_container:
|
||||
name: lewdlad
|
||||
image: registry.gitlab.com/shockrah/left-coast-server-bot
|
||||
pull: yes
|
||||
restart_policy: always
|
||||
recreate: yes
|
||||
env:
|
||||
DISCORD_ID: "{{DISCORD_ID}}"
|
||||
DISCORD_TOKEN: "{{DISCORD_TOKEN}}"
|
||||
AWS_API_ID: "{{AWS_API_ID}}"
|
||||
AWS_API_STAGE: "{{AWS_API_STAGE}}"
|
||||
AWS_API_REGION: "{{AWS_API_REGION}}"
|
||||
AWS_API_KEY: "{{AWS_API_KEY}}"
|
||||
|
||||
|
24
playbooks/alpha/update-musical-maurice.yml
Normal file
24
playbooks/alpha/update-musical-maurice.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- 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}}"
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user