lab-ansible/roles/apps/defaults/main.yml

58 lines
1.3 KiB
YAML
Raw Normal View History

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