cleans up support scripts

This commit is contained in:
2025-10-29 19:48:30 +01:00
parent f37bd556c3
commit dd1306766c
7 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
- name: Ensure deployment of Docker Compose applications
hosts: Docker_Compose_Hosts
pre_tasks:
- name: Login to GHCR (if credentials provided)
community.docker.docker_login:
registry_url: ghcr.io
username: "{{ ghcr_username }}"
password: "{{ ghcr_pat }}"
when:
- ghcr_username | default('') | length > 0
- ghcr_pat | default('') | length > 0
become: true
roles:
- docker_compose