75a0f21f74
- docker: install Docker Engine from official apt repo, configure log rotation, create shared traefik_public network - traefik: reverse proxy with automatic Let's Encrypt TLS, dashboard on cloud.ladkau.de behind basic auth - gitea: self-hosted Git with PostgreSQL, Git-over-SSH on port 2222 - sso: Keycloak with PostgreSQL for OIDC/OAuth2 single sign-on - nextcloud: file storage with PostgreSQL, Redis, cron sidecar, CalDAV/CardDAV well-known redirects - mail: Roundcube webmail client with PostgreSQL - registry: Docker Registry v2 with htpasswd auth, no upload size limit - k8s: placeholder nginx page All secrets documented in vault.yml; runbook updated with per-service first-run notes.
40 lines
878 B
YAML
40 lines
878 B
YAML
---
|
|
# Placeholder — serves a static HTML page at k8s.ladkau.de
|
|
- name: Create k8s placeholder directories
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
loop:
|
|
- "{{ k8s_data_dir }}"
|
|
- "{{ k8s_data_dir }}/html"
|
|
tags: k8s
|
|
|
|
- name: Deploy placeholder HTML page
|
|
ansible.builtin.copy:
|
|
src: index.html
|
|
dest: "{{ k8s_data_dir }}/html/index.html"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
tags: k8s
|
|
|
|
- name: Deploy Docker Compose file
|
|
ansible.builtin.template:
|
|
src: docker-compose.yml.j2
|
|
dest: "{{ k8s_data_dir }}/docker-compose.yml"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
notify: Restart k8s
|
|
tags: k8s
|
|
|
|
- name: Start k8s placeholder
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ k8s_data_dir }}"
|
|
state: present
|
|
pull: missing
|
|
tags: k8s
|