personal_infra/ansible/services/lnbits/lnbits_vars.yml

18 lines
721 B
YAML
Raw Normal View History

2025-08-20 16:02:48 +02:00
# General
lnbits_dir: /opt/lnbits
lnbits_data_dir: "{{ lnbits_dir }}/data"
lnbits_port: 8765
2025-11-06 23:09:44 +01:00
# (caddy_sites_dir and subdomain now in services_config.yml)
2025-08-20 16:02:48 +02:00
# Remote access
2025-12-01 11:16:47 +01:00
remote_host_name: "vipy"
remote_host: "{{ hostvars.get(remote_host_name, {}).get('ansible_host', remote_host_name) }}"
remote_user: "{{ hostvars.get(remote_host_name, {}).get('ansible_user', 'counterweight') }}"
remote_key_file: "{{ hostvars.get(remote_host_name, {}).get('ansible_ssh_private_key_file', '') }}"
remote_port: "{{ hostvars.get(remote_host_name, {}).get('ansible_port', 22) }}"
2025-08-20 16:02:48 +02:00
# Local backup
local_backup_dir: "{{ lookup('env', 'HOME') }}/lnbits-backups"
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/lnbits_backup.sh"