add plattform services

This commit is contained in:
Marcel Arndt
2026-01-05 16:01:40 +01:00
parent e25d8dd5d9
commit 193319fa52
65 changed files with 4240 additions and 39 deletions
@@ -0,0 +1,33 @@
---
# - name: AUTHENTIK | Verzeichnisse erstellen und Berechtigungen setzen
# ansible.builtin.file:
# path: "/mnt/cephfs/authentik/data/{{ item }}"
# state: directory
# owner: 1000
# group: 1000
# mode: '0755'
# loop:
# - cache
# - certs
# - db
# - media
# - templates
# run_once: true
# delegate_to: "{{ groups['managers'][0] }}"
- name: AUTHENTIK | Generate Compose file
ansible.builtin.template:
src: docker-compose.yml.j2
dest: /mnt/cephfs/authentik/authentik.yml
mode: 0644
run_once: true
delegate_to: "{{ groups['managers'][0] }}"
- name: AUTHENTIK | Deploy app stack
community.docker.docker_stack:
state: present
name: authentik
compose:
- /mnt/cephfs/authentik/authentik.yml
delegate_to: "{{ groups['managers'][0] }}"
run_once: true