infra/playbooks/alpha/chatbots/update-lewdlad.yml
2021-12-26 18:09:13 -08:00

23 lines
599 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}}"