Compare commits
1 commit
75be32d8d0
...
9389af700d
| Author | SHA1 | Date | |
|---|---|---|---|
| 9389af700d |
4 changed files with 24 additions and 0 deletions
11
inventories/vagrant/host_vars/backend/homarr.yml
Normal file
11
inventories/vagrant/host_vars/backend/homarr.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
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') }}
|
||||||
|
|
@ -24,6 +24,10 @@ traefik_services:
|
||||||
domain: authentik.local.test
|
domain: authentik.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
|
- name: homarr
|
||||||
|
domain: home.local.test
|
||||||
|
port: 443
|
||||||
|
protocol: https
|
||||||
# Example: Add more services as you deploy them
|
# Example: Add more services as you deploy them
|
||||||
# - name: forgejo
|
# - name: forgejo
|
||||||
# domain: git.example.com
|
# domain: git.example.com
|
||||||
|
|
|
||||||
|
|
@ -42,4 +42,7 @@ backend
|
||||||
backend
|
backend
|
||||||
|
|
||||||
[nextcloud_servers]
|
[nextcloud_servers]
|
||||||
|
backend
|
||||||
|
|
||||||
|
[homarr_servers]
|
||||||
backend
|
backend
|
||||||
|
|
@ -41,6 +41,12 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.authentik
|
- digitalboard.core.authentik
|
||||||
|
|
||||||
|
- name: Deploy homarr service
|
||||||
|
hosts: homarr_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.homarr
|
||||||
|
|
||||||
- name: Configure reverse proxy on DMZ servers
|
- name: Configure reverse proxy on DMZ servers
|
||||||
hosts: traefik_servers_dmz
|
hosts: traefik_servers_dmz
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue