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

85 lines
2 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"
2024-02-04 17:03:15 +00:00
apps_base_domain: "{{ base_domain }}"
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:
2024-02-04 17:03:15 +00:00
caddy:
backup: false
sender: false
extra_tasks: true
docker_ipv4: 172.17.2.48
version: 2.7.6-alpine
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 }}
2024-01-28 17:41:05 +00:00
version: v0.25.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
2024-02-04 17:03:15 +00:00
searxng:
backup: false
sender: false
extra_tasks: true
domain: search.{{ apps_base_domain }}
version: latest
redis_version: 7-alpine
2023-10-28 23:00:05 +00:00
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) }}"
2024-01-28 20:31:34 +00:00
apps_senders: "{{ apps_vars | dict2items | selectattr('key', 'in', apps_include) | selectattr('value.sender', 'true') | map(attribute='value.domain') | list }}"