2022-12-13 22:06:29 +01:00
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# system:zfs
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
system_zfs_zpools:
|
|
|
|
- "bpool"
|
|
|
|
- "rpool"
|
|
|
|
- "hpool"
|
|
|
|
system_zfs_zpools_trim:
|
|
|
|
- "bpool"
|
|
|
|
- "rpool"
|
|
|
|
system_zfs_zpools_load_key:
|
|
|
|
- "hpool"
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# system:mail
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
system_mail_smtp_pass: "{{ vault_system_mail_smtp_pass }}"
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# vpn
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
vpn_subnet_id: 2
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# vpn:wireguard
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
vpn_wireguard_role: "client"
|
|
|
|
vpn_wireguard_interface_private_key: "{{ vault_vpn_wireguard_interface_private_key }}"
|
|
|
|
vpn_wireguard_server_public_key: "{{ vault_vpn_wireguard_server_public_key }}"
|
|
|
|
vpn_wireguard_server_preshared_key: "{{ vault_vpn_wireguard_server_preshared_key }}"
|
|
|
|
vpn_wireguard_server_address: "{{ vault_vpn_wireguard_server_address }}"
|
|
|
|
vpn_wireguard_routing_table: 66
|
|
|
|
|
2022-12-18 00:05:58 +01:00
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# backup:snapshots
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
backups_snapshots_sanoid_system_datasets:
|
|
|
|
- name: "bpool/BOOT"
|
|
|
|
templates: ["system"]
|
|
|
|
recursive: true
|
|
|
|
children_only: true
|
|
|
|
- name: "rpool/ROOT"
|
|
|
|
templates: ["system"]
|
|
|
|
recursive: true
|
|
|
|
children_only: true
|
|
|
|
- name: "rpool/home"
|
|
|
|
templates: ["system", "home"]
|
|
|
|
recursive: true
|
|
|
|
children_only: true
|
|
|
|
|
2022-12-13 22:06:29 +01:00
|
|
|
# --------------------------------------------------------------------------------------------------
|
2022-12-14 21:19:05 +01:00
|
|
|
# services
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
2022-12-18 00:05:58 +01:00
|
|
|
services_root_dataset: "rpool{{ services_root_directory }}"
|
|
|
|
services_home_dataset: "rpool{{ services_home_directory }}"
|
|
|
|
services_data_dataset: "rpool{{ services_data_directory }}"
|
|
|
|
services_containers_dataset: "rpool{{ services_containers_directory }}"
|
|
|
|
|
2022-12-14 21:19:05 +01:00
|
|
|
services_host_services:
|
|
|
|
lrproxy:
|
|
|
|
address: "{{ vpn_bridge_prefix }}.2"
|
|
|
|
tcp: [80, 443]
|
|
|
|
database:
|
|
|
|
address: "{{ vpn_bridge_prefix }}.3"
|
|
|
|
cloud:
|
|
|
|
address: "{{ vpn_bridge_prefix }}.4"
|
|
|
|
git:
|
|
|
|
address: "{{ vpn_bridge_prefix }}.5"
|
2022-12-17 00:09:05 +01:00
|
|
|
tcp: ["{{ services.git.ssh_port }}"]
|
2022-12-14 21:19:05 +01:00
|
|
|
notes:
|
|
|
|
address: "{{ vpn_bridge_prefix }}.6"
|
2022-12-18 00:05:58 +01:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
|
|
|
# services:backups
|
|
|
|
# --------------------------------------------------------------------------------------------------
|
2022-12-18 01:38:30 +01:00
|
|
|
services_backups_backup_dataset: "hpool/backup"
|
|
|
|
services_backups_backup_root_dataset: "{{ services_root_dataset |
|
|
|
|
replace('rpool/var/lib', 'hpool/backup') }}"
|
|
|
|
services_backups_backup_data_dataset: "{{ services_data_dataset |
|
|
|
|
replace('rpool/var/lib', 'hpool/backup') }}"
|