personal_infra/ansible/services/lnbits/lnbits_vars.yml
2025-11-06 23:09:44 +01:00

15 lines
520 B
YAML

# General
lnbits_dir: /opt/lnbits
lnbits_data_dir: "{{ lnbits_dir }}/data"
lnbits_port: 8765
# (caddy_sites_dir and subdomain now in services_config.yml)
# Remote access
remote_host: "{{ groups['vipy'][0] }}"
remote_user: "{{ hostvars[remote_host]['ansible_user'] }}"
remote_key_file: "{{ hostvars[remote_host]['ansible_ssh_private_key_file'] | default('') }}"
# Local backup
local_backup_dir: "{{ lookup('env', 'HOME') }}/lnbits-backups"
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/lnbits_backup.sh"