refactor!: switch hosts variables to a flat layout

This commit is contained in:
NaeiKinDus 2024-01-21 00:00:00 +00:00
parent f669dea62a
commit 779f2766f2
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56
33 changed files with 270 additions and 322 deletions

View file

@ -1,9 +1,16 @@
custom_base_user_account: '{{ vault_custom_base_user_account }}'
custom_github_token: '{{ vault_custom_github_token }}'
dns:
type: "dot"
udp: '{{ vault_groups.defaults.udp }}'
dot: '{{ vault_groups.defaults.dot }}'
doh: '{{ vault_groups.defaults.doh }}'
network: "external"
ip_dualstack: true
---
# global parameters
custom_base_user_account: "{{ vault_custom_base_user_account }}"
custom_github_token: "{{ vault_custom_github_token | default('') }}"
# global (hosts' system parameters)
## TODO: move to a CMDB
global_dns_type: "dot"
# empty values for dns{4,6} servers mean that servers will be retrieved dynamically from /etc/resolv.conf
global_dns_udp_dns4: "{{ vault_global_dns_udp_dns4 }}"
global_dns_udp_dns6: "{{ vault_global_dns_udp_dns6 }}"
global_dns_dot_dns4: "{{ vault_global_dns_dot_dns4 }}"
global_dns_dot_dns6: "{{ vault_global_dns_dot_dns6 }}"
global_dns_doh_dns4: "{{ vault_global_dns_doh_dns4 }}"
global_dns_doh_dns6: "{{ vault_global_dns_doh_dns6 }}"
global_ip_dualstack: true