infrastructure/coreos-config/plays/vps.yaml

48 lines
1.6 KiB
YAML
Raw Normal View History

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:
2023-05-05 23:53:56 +02:00
state: running
2023-05-05 22:44:28 +02:00
base_domain: "tobiasmanske.de"
2023-03-30 23:52:40 +02:00
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}
2023-06-28 12:18:10 +02:00
- {role: compose_project, service: registry }
2023-03-30 23:52:40 +02:00
- {role: compose_project, service: pantalaimon}
- {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}
2023-04-15 21:43:02 +02:00
- {role: compose_project, service: wkd}