Remove switching _ to - on rolenames

This commit is contained in:
Tobias Reisinger 2024-10-13 20:32:07 +02:00
parent eb76c93ae5
commit 8b5593e586
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
---
- name: Set common facts
ansible.builtin.set_fact:
service_path: "{{ (services_path, role_name | replace('_', '-')) | path_join }}"
service_path: "{{ (services_path, role_name) | path_join }}"
docker_force_recreate: ""
docker_rebuild: false

View file

@ -16,4 +16,4 @@ services:
volumes:
data:
external: true
name: teamspeak-fallback-data
name: teamspeak_fallback_data

View file

@ -1,4 +1,4 @@
#!/usr/bin/env sh
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak-fallback-data
install -o "${TEAMSPEAK_USER}" -g "${TEAMSPEAK_GROUP}" -m 644 "$WEBHOOK_DATA" "/mnt/teamspeak-fallback-data/ts3server.sqlitedb"
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak_fallback_data
install -o "${TEAMSPEAK_USER}" -g "${TEAMSPEAK_GROUP}" -m 644 "$WEBHOOK_DATA" "/mnt/teamspeak_fallback_data/ts3server.sqlitedb"

View file

@ -35,11 +35,11 @@ webhook_compose:
image: ghcr.io/thecatlady/webhook
volumes:
- ./config:/config:ro
- teamspeak-fallback-data:/mnt/teamspeak-fallback-data
- teamspeak_fallback_data:/mnt/teamspeak_fallback_data
file:
services:
app:
command: ["-verbose", "-hooks=/config/hooks.yml"]
volumes:
teamspeak-fallback-data:
name: teamspeak-fallback-data
teamspeak_fallback_data:
name: teamspeak_fallback_data

View file

@ -348,7 +348,7 @@ services = {
}
]
backup = [{
name = "reitanlage-oranienburg_data"
name = "reitanlage_oranienburg_data"
type = "docker"
}]
monitoring = {
@ -445,7 +445,7 @@ services = {
target = "ts"
}]
backup = [{
name = "teamspeak-fallback-data"
name = "teamspeak_fallback_data"
type = "docker"
}]
auth = false