lab-ansible/roles/apps/defaults/main.yml
2023-11-05 18:27:49 +01:00

58 lines
1.3 KiB
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
apps_base_domain: example.com
apps_local_domain: local.{{ apps_base_domain }}
apps_data_root: /apps
apps_shared_docker_network: apps_network
apps_postfix_docker_network: postfix_network
apps_vars:
postfix:
domain: smtp.{{ apps_base_domain }}
backup: true
extra_tasks: false
version: latest-alpine
ipfs:
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
backup: false
extra_tasks: true
version: v0.23.0
monerod:
domain: xmr.{{ apps_base_domain }}
backup: false
extra_tasks: false
version: latest
nextcloud:
domain: cloud.{{ apps_base_domain }}
backup: true
extra_tasks: true
version: 27-apache
postgres_version: 14-alpine
redis_version: 7-alpine
snowflake:
backup: false
extra_tasks: false
version: latest
restic:
backup: false
extra_tasks: false
version: '1.7.0'
watchtower:
backup: false
extra_tasks: false
version: '1.6.0'
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}"
apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list }}"
apps_sender_domains:
- "{{ apps_vars.nextcloud.domain }}"