diff --git a/group_vars/all.yaml b/group_vars/all.yaml index 5ea2c4a..7bb1eef 100644 --- a/group_vars/all.yaml +++ b/group_vars/all.yaml @@ -361,11 +361,11 @@ keycloak_clients: atlantis-status: party_secret: "EHISTORY_PURGED_SECRET" - client_id: tube-archivist + client_id: atlantis-status client_secret: "HISTORY_PURGED_SECRET" redirect_uris: - "https://actions.atlantishq.de/*" - description: "Tube Archivist" + description: "Atlantis Actions" keycloak_id: "00000000-0000-0000-0000-000000000023" groups: "" master_address: "https://actions.atlantishq.de" diff --git a/roles/docker-deployments/tasks/main.yaml b/roles/docker-deployments/tasks/main.yaml index 4b1a9fe..a690de9 100644 --- a/roles/docker-deployments/tasks/main.yaml +++ b/roles/docker-deployments/tasks/main.yaml @@ -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 diff --git a/roles/docker-deployments/templates/atlantis-array.yaml b/roles/docker-deployments/templates/atlantis-array.yaml new file mode 100644 index 0000000..1172ee2 --- /dev/null +++ b/roles/docker-deployments/templates/atlantis-array.yaml @@ -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 diff --git a/roles/docker-deployments/templates/atlantis-status.yaml b/roles/docker-deployments/templates/atlantis-status.yaml index f613db0..cfdb327 100644 --- a/roles/docker-deployments/templates/atlantis-status.yaml +++ b/roles/docker-deployments/templates/atlantis-status.yaml @@ -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 diff --git a/vars/services.yaml b/vars/services.yaml index 7737483..46f4846 100644 --- a/vars/services.yaml +++ b/vars/services.yaml @@ -33,3 +33,5 @@ services: port: 5019 olive-tin: port: 5025 + atlantis-status: + port: 5026