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

69 lines
1.7 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-13 20:17:17 +00:00
apps_data_root: "{{ data_fs }}/apps"
2023-11-05 17:27:49 +00:00
apps_local_domain: local.{{ apps_base_domain }}
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-11-08 21:30:41 +00:00
nginx:
backup: false
2023-11-11 16:19:29 +00:00
sender: false
2023-11-08 21:30:41 +00:00
extra_tasks: true
2023-11-12 22:16:53 +00:00
docker_ipv4: 172.17.2.32
2023-11-08 21:30:41 +00:00
version: 1.25.3-alpine-slim
2023-10-28 23:00:05 +00:00
postfix:
2023-11-05 17:27:49 +00:00
backup: true
2023-11-11 14:09:35 +00:00
sender: false
2023-11-05 17:27:49 +00:00
extra_tasks: false
2023-11-11 16:19:29 +00:00
hostname: smtp.{{ apps_base_domain }}
2023-10-28 23:00:05 +00:00
version: latest-alpine
ipfs:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
version: v0.23.0
2023-10-28 23:00:05 +00:00
monerod:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
2023-12-25 20:49:17 +00:00
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: xmr.{{ apps_local_domain }}
2023-10-28 23:00:05 +00:00
version: latest
nextcloud:
2023-11-05 17:27:49 +00:00
backup: true
2023-11-11 14:09:35 +00:00
sender: true
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: cloud.{{ apps_base_domain }}
2023-12-29 18:11:33 +00:00
version: 28-apache
2023-10-28 23:00:05 +00:00
redis_version: 7-alpine
snowflake:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: 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
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: false
2023-12-23 17:05:10 +00:00
version: '1.7.1'
2023-10-28 23:00:05 +00:00
watchtower:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: false
2023-11-13 20:17:17 +00:00
version: '1.7.1'
2023-10-28 23:00:05 +00:00
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}"
apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list | intersect(apps_include) }}"
2023-11-08 21:30:41 +00:00
apps_proxied: "{{ apps_vars | dict2items | selectattr('value.domain', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"
2023-12-28 21:39:11 +00:00
apps_senders: "{{ apps_vars | dict2items | selectattr('value.sender', 'true') | map(attribute='value.domain') | list }}"