ansible/roles/stacks/composes/vars/common.yml

31 lines
1.1 KiB
YAML

# 2023-09-26
# Subvars: common
---
stack_folder_local_files: "../files"
stack_folder_conf: "conf"
stack_folder_envs: "env"
stack_folder_datas: "datas"
stack_folder_secrets: "secrets"
stack_folder_templates: "templates"
puid: "{{ vm_puid }}"
guid: "{{ vm_pgid }}"
folder_remote_root: "{{ vm_docker_root }}/{{ stack_name }}"
local_folder_conf: "{{ stack_folder_local_files }}/{{ stack_name }}/{{ stack_folder_conf }}/"
folder_remote_conf: "{{ folder_remote_root }}/{{ stack_folder_conf }}"
local_folder_envs: "{{ stack_folder_local_files }}/{{ stack_name }}/{{ stack_folder_envs }}/"
folder_remote_envs: "{{ folder_remote_root }}/{{ stack_folder_envs }}"
local_folder_datas: "{{ stack_folder_local_files }}/{{ stack_name }}/{{ stack_folder_datas }}/"
folder_remote_datas: "{{ folder_remote_root }}/{{ stack_folder_datas }}"
local_folder_secrets: "{{ stack_folder_local_files }}/{{ stack_name }}/{{ stack_folder_secrets }}/."
folder_remote_secrets: "{{ folder_remote_root }}/{{ stack_folder_secrets }}"
local_folder_templates: "{{ stack_folder_local_files }}/{{ stack_name }}/{{ stack_folder_templates }}"