2021-12-01 07:12:49 +00:00
|
|
|
---
|
|
|
|
- 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}}"
|
2022-04-06 00:04:45 +00:00
|
|
|
DEV_GUILD_ID: "{{DEV_GUILD_ID}}"
|
2021-12-01 07:12:49 +00:00
|
|
|
|
|
|
|
|