From f5f5e907d9c81f54553b32d1ff38537ac0ca4470 Mon Sep 17 00:00:00 2001 From: Kyattsukuro Date: Sun, 11 Oct 2026 01:01:04 +0200 Subject: [PATCH] added rustfs/minio, added splitpro --- inventory/host_vars/DebianMain.yml | 29 ++++++++++++++++++++++++++++- playbooks/minio.yml | 6 ++++++ playbooks/splitpro.yml | 6 ++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 playbooks/minio.yml create mode 100644 playbooks/splitpro.yml diff --git a/inventory/host_vars/DebianMain.yml b/inventory/host_vars/DebianMain.yml index aac1444..e7a4612 100644 --- a/inventory/host_vars/DebianMain.yml +++ b/inventory/host_vars/DebianMain.yml @@ -9,6 +9,7 @@ _speedup_nextcloud_fields: "{{ dict(_speedup_nextcloud_record.fields|map(attribu _speedup_smb_provicer_record: "{{ bitwarden_records_urmel_services['SMB Provider'] }}" +_smb_credentials: "username={{ _speedup_smb_provicer_record.login.username }},password={{ _speedup_smb_provicer_record.login.password }},domain=WORKGROUP" ddns_override: domains: @@ -116,5 +117,31 @@ gitea_override: networkmount: host: "217.100.0.2" host_path: "giteaData" - args: "username={{ _speedup_smb_provicer_record.login.username }},password={{ _speedup_smb_provicer_record.login.password }},domain=WORKGROUP,uid=1000,gid=1000" + args: "{{ _smb_credentials }},uid=1000,gid=1000" type: "cifs" + +minio_override: + version: "1.0.1" + url: "s3.urmel.de" + admin_url: "rustfs.urmel.de" + user: "{{ bitwarden_records_urmel_services['Minio'].login.username }}" + password: "{{ bitwarden_records_urmel_services['Minio'].login.password }}" + data_path: "/mnt/rustfs" + networkmount: + host: "217.100.0.2" + host_path: "servicesData/s3" + args: "{{ _smb_credentials }},uid=10001,gid=10001" + type: "cifs" + +splitpro_override: + url: "splitpro.urmel.de" + db_password: "{{ (bitwarden_records_urmel_services['Splitpro'].fields | selectattr('name', '==', 'db_password') | first).value }}" + nextauth_secret: "{{ (bitwarden_records_urmel_services['Splitpro'].fields | selectattr('name', '==', 'nextauth_secret') | first).value }}" + oidc: + client_id: "{{ (bitwarden_records_urmel_services['Splitpro'].fields | selectattr('name', '==', 'oidc_client_id') | first).value }}" + client_secret: "{{ (bitwarden_records_urmel_services['Splitpro'].fields | selectattr('name', '==', 'oidc_client_secret') | first).value }}" + issuer: "https://auth.urmel.de/application/o/split-pro/" + mail: + host: "{{ _speedup_noreply_mail_fields.smtp_host }}" + address: "{{ _speedup_noreply_mail_fields.address }}" + password: "{{ _speedup_noreply_mail_fields.password }}" diff --git a/playbooks/minio.yml b/playbooks/minio.yml new file mode 100644 index 0000000..b1497ad --- /dev/null +++ b/playbooks/minio.yml @@ -0,0 +1,6 @@ +--- +- hosts: DebianMain + pre_tasks: + - include_tasks: _lazy_lookup_workaround.yml + roles: + - minio diff --git a/playbooks/splitpro.yml b/playbooks/splitpro.yml new file mode 100644 index 0000000..0cf6176 --- /dev/null +++ b/playbooks/splitpro.yml @@ -0,0 +1,6 @@ +--- +- hosts: DebianMain + pre_tasks: + - include_tasks: _lazy_lookup_workaround.yml + roles: + - splitpro