infra/playbooks/alpha/update-lewdlad.yml

23 lines
599 B
YAML
Raw Normal View History

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}}"