mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 15:11:39 +01:00
feat: implement atlantis status deployment
This commit is contained in:
@@ -361,11 +361,11 @@ keycloak_clients:
|
|||||||
|
|
||||||
atlantis-status:
|
atlantis-status:
|
||||||
party_secret: "EHISTORY_PURGED_SECRET"
|
party_secret: "EHISTORY_PURGED_SECRET"
|
||||||
client_id: tube-archivist
|
client_id: atlantis-status
|
||||||
client_secret: "HISTORY_PURGED_SECRET"
|
client_secret: "HISTORY_PURGED_SECRET"
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- "https://actions.atlantishq.de/*"
|
- "https://actions.atlantishq.de/*"
|
||||||
description: "Tube Archivist"
|
description: "Atlantis Actions"
|
||||||
keycloak_id: "00000000-0000-0000-0000-000000000023"
|
keycloak_id: "00000000-0000-0000-0000-000000000023"
|
||||||
groups: ""
|
groups: ""
|
||||||
master_address: "https://actions.atlantishq.de"
|
master_address: "https://actions.atlantishq.de"
|
||||||
|
|||||||
@@ -94,6 +94,13 @@
|
|||||||
src: "grafana.ini"
|
src: "grafana.ini"
|
||||||
dest: "/data/grafana/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
|
- name: Create compose directories
|
||||||
file:
|
file:
|
||||||
name: "/opt/{{ item }}"
|
name: "/opt/{{ item }}"
|
||||||
@@ -240,7 +247,7 @@
|
|||||||
template:
|
template:
|
||||||
src: oauth-standalone-docker-compose.yaml
|
src: oauth-standalone-docker-compose.yaml
|
||||||
dest: "/opt/oauth2proxy/{{ item }}/docker-compose.yaml"
|
dest: "/opt/oauth2proxy/{{ item }}/docker-compose.yaml"
|
||||||
remove_orphans: true
|
#remove_orphans: true
|
||||||
with_items:
|
with_items:
|
||||||
- tmnf-replay-server
|
- tmnf-replay-server
|
||||||
- atlantis-hub
|
- atlantis-hub
|
||||||
|
|||||||
23
roles/docker-deployments/templates/atlantis-array.yaml
Normal file
23
roles/docker-deployments/templates/atlantis-array.yaml
Normal 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
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
atlantis-status-management:
|
atlantis-status-management:
|
||||||
ports:
|
ports:
|
||||||
- 6025:5000
|
- 6026:5000
|
||||||
volumes:
|
volumes:
|
||||||
- /data/services:/services
|
- /data/atlantis-status/services:/app/services
|
||||||
image: harbor-registry.atlantishq.de/atlantishq/atlantis-status:latest
|
image: harbor-registry.atlantishq.de/atlantishq/atlantis-status:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
@@ -33,3 +33,5 @@ services:
|
|||||||
port: 5019
|
port: 5019
|
||||||
olive-tin:
|
olive-tin:
|
||||||
port: 5025
|
port: 5025
|
||||||
|
atlantis-status:
|
||||||
|
port: 5026
|
||||||
|
|||||||
Reference in New Issue
Block a user