From 9f2ebc2cce3af0e685677c23f2098c115e034adf Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Thu, 13 Aug 2026 16:35:47 +0100 Subject: move ansible/ dir to root --- vars/actualbudget.yml | 2 ++ vars/comitium.yml | 1 + vars/common.yml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ vars/email.yml | 17 ++++++++++++++ vars/etherpad.yml | 8 +++++++ vars/fcgiwrap.yml | 3 +++ vars/http.yml | 3 +++ vars/mox.yml | 4 ++++ vars/msmtp.yml | 4 ++++ vars/network.yml | 6 +++++ 10 files changed, 113 insertions(+) create mode 100644 vars/actualbudget.yml create mode 100644 vars/comitium.yml create mode 100644 vars/common.yml create mode 100644 vars/email.yml create mode 100644 vars/etherpad.yml create mode 100644 vars/fcgiwrap.yml create mode 100644 vars/http.yml create mode 100644 vars/mox.yml create mode 100644 vars/msmtp.yml create mode 100644 vars/network.yml (limited to 'vars') diff --git a/vars/actualbudget.yml b/vars/actualbudget.yml new file mode 100644 index 0000000..9da2f92 --- /dev/null +++ b/vars/actualbudget.yml @@ -0,0 +1,2 @@ +actualbudget_src_dir: /usr/share/src/actualbudget +actualbudget_version: 26.8.1 diff --git a/vars/comitium.yml b/vars/comitium.yml new file mode 100644 index 0000000..9381880 --- /dev/null +++ b/vars/comitium.yml @@ -0,0 +1 @@ +comitium_version: "1.8.2" diff --git a/vars/common.yml b/vars/common.yml new file mode 100644 index 0000000..db9a0ff --- /dev/null +++ b/vars/common.yml @@ -0,0 +1,65 @@ +src_dir: /usr/share/src + +services: + actualbudget: + port: 5006 + host: pi-broughton + git: + port: 2448 + host: blade-canongate + etherpad: + port: 9001 + host: blade-canongate + gemini: + port: 1965 + 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: + - name: "@" + full_domain: joeac.net + mox_handler: forward + service: http + - name: budget + full_domain: budget.joeac.net + mox_handler: forward + service: actualbudget + - name: docs + full_domain: docs.joeac.net + mox_handler: forward + service: etherpad + - name: git + full_domain: git.joeac.net + mox_handler: forward + service: git + - name: ln + full_domain: ln.joeac.net + mox_handler: static + service: ln + - name: mail + full_domain: mail.joeac.net + mox_handler: none + service: none + - name: autoconfig.mail + full_domain: autoconfig.mail.joeac.net + mox_handler: none + service: none + - name: mta-sts.mail + full_domain: mta-sts.mail.joeac.net + mox_handler: none + service: none + - name: pwd + full_domain: pwd.joeac.net + mox_handler: forward + service: vaultwarden diff --git a/vars/email.yml b/vars/email.yml new file mode 100644 index 0000000..cd6b2ec --- /dev/null +++ b/vars/email.yml @@ -0,0 +1,17 @@ +email_accounts: + - name: me + password: !vault | + $ANSIBLE_VAULT;1.2;AES256;ansible + 64666333373334373438313730393830353730373463643639386533303030353235313832363738 + 6633623136376262633638336662326236636562363833320a333535363862326331646364373030 + 37326135346639323830666135346239653234653564626361393761653263333933353234666233 + 6232333132386663330a636464376161643563313863656139646534336533633736333635626532 + 32313539306366383833353133376134616437393532303233363235363133356236 + - name: jobot + password: !vault | + $ANSIBLE_VAULT;1.2;AES256;ansible + 66386562306130613835333665633534396433316363646463636536653466646133383135373933 + 6439333031386663643732333334323438613463393933660a653731646362616635316537643538 + 36613238343762636632663333373964323833636265623532373735303166616432313964396233 + 6564323066613731610a333133316639613062633061666233333333316239626165653761666639 + 65376363646231646161353461343163636533316530636265313330626562376265 diff --git a/vars/etherpad.yml b/vars/etherpad.yml new file mode 100644 index 0000000..e9148d7 --- /dev/null +++ b/vars/etherpad.yml @@ -0,0 +1,8 @@ +etherpad_node_env: production +etherpad_admin_password: !vault | + $ANSIBLE_VAULT;1.2;AES256;ansible + 61323133386365613235326230313139396433653533613638353163336561363930326463366638 + 6264633965363664333862666536636537383331326637630a643336646561643133613863386561 + 33613830613461653432383534356533643938383063326363633833653939356232363836336565 + 3961383965323537650a666430646338363637383233633531313735353931386433323337313133 + 30663632646631396335333263336132616234663539623766366364626633313831 diff --git a/vars/fcgiwrap.yml b/vars/fcgiwrap.yml new file mode 100644 index 0000000..e8dfa71 --- /dev/null +++ b/vars/fcgiwrap.yml @@ -0,0 +1,3 @@ +fcgiwrap_socket: /run/fcgiwrap.sock +fcgiwrap_user: nginx +fcgiwrap_group: nginx diff --git a/vars/http.yml b/vars/http.yml new file mode 100644 index 0000000..6d19c74 --- /dev/null +++ b/vars/http.yml @@ -0,0 +1,3 @@ +http_files_dir: /var/joeac.net-http +http_database_filename: db.sqlite +http_phpfpm_socket: /run/php8.5-fpm-joeac.net-http.sock diff --git a/vars/mox.yml b/vars/mox.yml new file mode 100644 index 0000000..a74acf8 --- /dev/null +++ b/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/vars/msmtp.yml b/vars/msmtp.yml new file mode 100644 index 0000000..ecd4c53 --- /dev/null +++ b/vars/msmtp.yml @@ -0,0 +1,4 @@ +msmtp_version: 1.8.34 +msmtp_src_dir: /usr/local/src +msmtp_log_dir: /var/log/msmtp +msmtp_auth_mech: scram-sha-256-plus diff --git a/vars/network.yml b/vars/network.yml new file mode 100644 index 0000000..a08e4be --- /dev/null +++ b/vars/network.yml @@ -0,0 +1,6 @@ +router: + lan: + ipv4: 192.168.0.0/16 + ipv6: fdc9:6aec:7a18::/64 + wan: + ipv4: 217.155.190.42 -- cgit v1.2.3