summaryrefslogtreecommitdiff
path: root/ansible/vars
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/vars')
-rw-r--r--ansible/vars/common.yml52
-rw-r--r--ansible/vars/mox.yml4
-rw-r--r--ansible/vars/network.yml7
3 files changed, 54 insertions, 9 deletions
diff --git a/ansible/vars/common.yml b/ansible/vars/common.yml
index e6dc18c..c21cb61 100644
--- a/ansible/vars/common.yml
+++ b/ansible/vars/common.yml
@@ -1,10 +1,44 @@
+services:
+ actualbudget:
+ port: 5006
+ host: pi-broughton
+ etherpad:
+ port: 9001
+ host: blade-canongate
+ http:
+ port: 8080
+ host: pi-broughton
+ ln:
+ root: /var/ln.joeac.net/public
+ host: blade-canongate
+ directory_listing: true
+ mox:
+ host: blade-canongate
+ vaultwarden:
+ port: 9000
+ host: pi-broughton
+
subdomains:
- - "@"
- - budget
- - docs
- - ln
- - mail
- - autoconfig.mail
- - clientsettings.mail
- - mta-sts.mail
- - pwd
+ - name: "@"
+ mox_handler: forward
+ service: http
+ - name: budget
+ mox_handler: forward
+ service: actualbudget
+ - name: docs
+ mox_handler: forward
+ service: etherpad
+ - name: ln
+ mox_handler: static
+ service: ln
+ - name: mail
+ mox_handler: none
+ - name: autoconfig.mail
+ mox_handler: none
+ - name: clientsettings.mail
+ mox_handler: none
+ - name: mta-sts.mail
+ mox_handler: none
+ - name: pwd
+ mox_handler: forward
+ service: vaultwarden
diff --git a/ansible/vars/mox.yml b/ansible/vars/mox.yml
new file mode 100644
index 0000000..a74acf8
--- /dev/null
+++ b/ansible/vars/mox.yml
@@ -0,0 +1,4 @@
+mox_version: 0.0.15
+mox_go_version: 1.26.5
+mox_url_base: https://beta.gobuilds.org/github.com/mjl-/mox@v
+mox_url: "{{ mox_url_base ~ mox_version ~ '/linux-' ~ mox_platform ~ '-go' ~ mox_go_version ~ '/' ~ mox_checksum ~ '/mox-v' ~ mox_version ~ '-go' ~ mox_go_version }}"
diff --git a/ansible/vars/network.yml b/ansible/vars/network.yml
new file mode 100644
index 0000000..2943048
--- /dev/null
+++ b/ansible/vars/network.yml
@@ -0,0 +1,7 @@
+router:
+ lan:
+ ipv4: 192.168.0.0/16 # TODO: gather automatically using ip addr
+ ipv6: fdc9:6aec:7a18::/64 # TODO: gather automatically using ip addr
+ wan:
+ ipv4: 217.155.190.42 # TODO: gather automatically using ip addr
+ ipv6: fdc9:6aec:7a18:0:2e0:4cff:fe61:9b17 # TODO: gather automatically using ip addr