feat: implement atlantis status deployment

This commit is contained in:
2024-11-02 16:26:28 +00:00
parent ff58b9cf3e
commit bf053365f7
5 changed files with 37 additions and 5 deletions

View File

@@ -94,6 +94,13 @@
src: "grafana.ini"
dest: "/data/grafana/grafana.ini"
- name: copy_atlantis_status_services
template:
src: "{{ item }}.yaml"
dest: "/data/atlantis-status/services/"
with_items:
- "atlantis-array"
- name: Create compose directories
file:
name: "/opt/{{ item }}"
@@ -240,7 +247,7 @@
template:
src: oauth-standalone-docker-compose.yaml
dest: "/opt/oauth2proxy/{{ item }}/docker-compose.yaml"
remove_orphans: true
#remove_orphans: true
with_items:
- tmnf-replay-server
- atlantis-hub

View File

@@ -0,0 +1,23 @@
name: Atlantis Array
hook_operations:
- start_service:
passive: true
- unlock_service:
location:
url:
- https://ipv4-vpn-activate.atlantishq.de:10443/activate
- https://ipv6-vpn-activate.atlantishq.de:10443/activate
client_secret: https://ipv4-vpn-activate.atlantishq.de:10443/one-time-token
client_secret_field: "secret"
args:
secret: jeanswochenendegeschichte
status_url: https://vpn-activate.atlantishq.de:10443/am-i-unlocked
client: true
register_endpoints:
- start_service:
token: token_1
groups:
- trackmania

View File

@@ -1,8 +1,8 @@
services:
atlantis-status-management:
ports:
- 6025:5000
- 6026:5000
volumes:
- /data/services:/services
- /data/atlantis-status/services:/app/services
image: harbor-registry.atlantishq.de/atlantishq/atlantis-status:latest
restart: always