2023-04-17 17:47:15 +02:00
|
|
|
- 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
|
|
|
|
|
2023-03-30 23:52:40 +02:00
|
|
|
- name: Setup VPS
|
|
|
|
hosts: host.nc.chaoswg.org
|
|
|
|
vars:
|
|
|
|
state: present
|
|
|
|
roles:
|
|
|
|
- {role: compose_project, service: traefik, with_fa: true}
|
|
|
|
- {role: compose_project, service: keycloak}
|
2023-04-16 16:10:44 +02:00
|
|
|
- {role: compose_project, service: prometheus}
|
2023-03-30 23:52:40 +02:00
|
|
|
- {role: compose_project, service: minio}
|
|
|
|
- {role: compose_project, service: repo_proxy}
|
|
|
|
- {role: compose_project, service: registry}
|
|
|
|
- {role: compose_project, service: pantalaimon}
|
|
|
|
- {role: compose_project, service: gitea}
|
|
|
|
- {role: compose_project, service: gitea-runner}
|
|
|
|
- {role: compose_project, service: ba-gitlab-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}
|
2023-04-15 21:43:02 +02:00
|
|
|
- {role: compose_project, service: wkd}
|