Compare commits
No commits in common. "dde5a246aedfeddcd1f2b66d9c34ca981c708b98" and "56bff066f794ae7173f67dcb78d2bad5beef867f" have entirely different histories.
dde5a246ae
...
56bff066f7
4 changed files with 53 additions and 26 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
homarr_domain: "home.local.test"
|
|
||||||
|
|
||||||
homarr_secret_dir: "{{ playbook_dir }}/secrets/{{ inventory_hostname }}"
|
|
||||||
homarr_secret_file: "homarr_secret_encryption_key"
|
|
||||||
homarr_secret_length: 64
|
|
||||||
|
|
||||||
homarr_secret_encryption_key: >-
|
|
||||||
{{ lookup('ansible.builtin.password',
|
|
||||||
homarr_secret_dir ~ '/' ~ homarr_secret_file,
|
|
||||||
length=homarr_secret_length,
|
|
||||||
chars='hexdigits') }}
|
|
||||||
|
|
@ -16,7 +16,7 @@ traefik_dmz_exposed_services:
|
||||||
domain: nextcloud.local.test
|
domain: nextcloud.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
- name: nextcloud-collabora
|
- name: collabora
|
||||||
domain: office.local.test
|
domain: office.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
|
|
@ -24,8 +24,12 @@ traefik_dmz_exposed_services:
|
||||||
domain: authentik.local.test
|
domain: authentik.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
- name: homarr
|
- name: opencloud
|
||||||
domain: home.local.test
|
domain: opencloud.local.test
|
||||||
|
port: 443
|
||||||
|
protocol: https
|
||||||
|
- name: drawio
|
||||||
|
domain: drawio.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
# Example: Add more services as you deploy them
|
# Example: Add more services as you deploy them
|
||||||
|
|
|
||||||
|
|
@ -49,10 +49,18 @@ all:
|
||||||
hosts:
|
hosts:
|
||||||
backend:
|
backend:
|
||||||
|
|
||||||
|
ds389_servers:
|
||||||
|
hosts:
|
||||||
|
backend:
|
||||||
|
|
||||||
authentik_servers:
|
authentik_servers:
|
||||||
hosts:
|
hosts:
|
||||||
backend:
|
backend:
|
||||||
|
|
||||||
|
authentik_outpost_ldap_servers:
|
||||||
|
hosts:
|
||||||
|
backend:
|
||||||
|
|
||||||
garage_servers:
|
garage_servers:
|
||||||
hosts:
|
hosts:
|
||||||
backend:
|
backend:
|
||||||
|
|
@ -61,6 +69,14 @@ all:
|
||||||
hosts:
|
hosts:
|
||||||
backend:
|
backend:
|
||||||
|
|
||||||
homarr_servers:
|
collabora_servers:
|
||||||
|
hosts:
|
||||||
|
backend:
|
||||||
|
|
||||||
|
drawio_servers:
|
||||||
|
hosts:
|
||||||
|
backend:
|
||||||
|
|
||||||
|
opencloud_servers:
|
||||||
hosts:
|
hosts:
|
||||||
backend:
|
backend:
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.base
|
- digitalboard.core.base
|
||||||
|
|
||||||
- name: Configure reverse proxy on application servers
|
- name: Configure reverse proxies
|
||||||
hosts: traefik_servers_backend
|
hosts: traefik_servers
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.traefik
|
- digitalboard.core.traefik
|
||||||
|
|
@ -17,6 +17,12 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.httpbin
|
- digitalboard.core.httpbin
|
||||||
|
|
||||||
|
- name: Deploy 389ds LDAP service
|
||||||
|
hosts: ds389_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.389ds
|
||||||
|
|
||||||
- name: Deploy keycloak service
|
- name: Deploy keycloak service
|
||||||
hosts: keycloak_servers
|
hosts: keycloak_servers
|
||||||
become: yes
|
become: yes
|
||||||
|
|
@ -29,11 +35,11 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.garage
|
- digitalboard.core.garage
|
||||||
|
|
||||||
- name: Deploy nextcloud service
|
- name: Deploy collabora service
|
||||||
hosts: nextcloud_servers
|
hosts: collabora_servers
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.nextcloud
|
- digitalboard.core.collabora
|
||||||
|
|
||||||
- name: Deploy authentik service
|
- name: Deploy authentik service
|
||||||
hosts: authentik_servers
|
hosts: authentik_servers
|
||||||
|
|
@ -41,14 +47,26 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.authentik
|
- digitalboard.core.authentik
|
||||||
|
|
||||||
- name: Deploy homarr service
|
- name: Deploy authentik LDAP outpost
|
||||||
hosts: homarr_servers
|
hosts: authentik_outpost_ldap_servers
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.homarr
|
- digitalboard.core.authentik_outpost_ldap
|
||||||
|
|
||||||
- name: Configure reverse proxy on DMZ servers
|
- name: Deploy nextcloud service
|
||||||
hosts: traefik_servers_dmz
|
hosts: nextcloud_servers
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.traefik
|
- digitalboard.core.nextcloud
|
||||||
|
|
||||||
|
- name: Deploy drawio service
|
||||||
|
hosts: drawio_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.drawio
|
||||||
|
|
||||||
|
- name: Deploy opencloud service
|
||||||
|
hosts: opencloud_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.opencloud
|
||||||
Loading…
Add table
Add a link
Reference in a new issue