48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
- name: Setup Docker Config
|
|
hosts: host.nc.chaoswg.org
|
|
become: true
|
|
become_user: root
|
|
tasks:
|
|
- name: Template Config
|
|
ansible.builtin.template:
|
|
src: "docker-daemon.json.j2"
|
|
dest: /etc/docker/daemon.json
|
|
owner: root
|
|
group: root
|
|
mode: '0600'
|
|
register: docker_config
|
|
- name: Restart Docker
|
|
ansible.builtin.systemd:
|
|
state: restarted
|
|
name: docker.service
|
|
when: docker_config.changed
|
|
|
|
- name: Setup VPS
|
|
hosts: host.nc.chaoswg.org
|
|
vars:
|
|
state: running
|
|
base_domain: "tobiasmanske.de"
|
|
roles:
|
|
- {role: compose_project, service: traefik, with_fa: true}
|
|
- {role: compose_project, service: registry}
|
|
- {role: compose_project, service: keycloak}
|
|
- {role: compose_project, service: pantalaimon}
|
|
- {role: compose_project, service: prometheus}
|
|
- {role: compose_project, service: minio}
|
|
- {role: compose_project, service: repo_proxy}
|
|
- {role: compose_project, service: gitea}
|
|
- {role: compose_project, service: gitea-runner}
|
|
- {role: compose_project, service: wireguard}
|
|
- {role: compose_project, service: hedgedoc}
|
|
- {role: compose_project, service: miniflux}
|
|
- {role: compose_project, service: matrix}
|
|
- {role: compose_project, service: radicale}
|
|
- {role: compose_project, service: search}
|
|
- {role: compose_project, service: syncthing}
|
|
- {role: compose_project, service: blog}
|
|
- {role: compose_project, service: linktree}
|
|
- {role: compose_project, service: caddy}
|
|
- {role: compose_project, service: diun}
|
|
- {role: compose_project, service: watchtower}
|
|
- {role: compose_project, service: wkd}
|