infra/playbooks/alpha/chatbots/update-lewdlad.yml

24 lines
642 B
YAML

---
- 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}}"
DEV_GUILD_ID: "{{DEV_GUILD_ID}}"