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 - name: Set common facts
ansible.builtin.set_fact: 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_force_recreate: ""
docker_rebuild: false docker_rebuild: false

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env sh
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak-fallback-data 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" 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 image: ghcr.io/thecatlady/webhook
volumes: volumes:
- ./config:/config:ro - ./config:/config:ro
- teamspeak-fallback-data:/mnt/teamspeak-fallback-data - teamspeak_fallback_data:/mnt/teamspeak_fallback_data
file: file:
services: services:
app: app:
command: ["-verbose", "-hooks=/config/hooks.yml"] command: ["-verbose", "-hooks=/config/hooks.yml"]
volumes: volumes:
teamspeak-fallback-data: teamspeak_fallback_data:
name: teamspeak-fallback-data name: teamspeak_fallback_data

View file

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