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

@ -24,6 +24,10 @@
- include_vars: ../../../../../../../inventory/group_vars/all/vars.yml
- include_vars: ../../../../../../../inventory/group_vars/all/vault.yml
- include_vars: ./platform_vars.yml
- name: Platform hostvars
ansible.builtin.debug:
msg: "{{ hostvars[inventory_hostname] }}"
verbosity: 1
- name: Enable guest console access
become: true
ansible.builtin.systemd_service:

View file

@ -33,6 +33,9 @@ platforms:
- molecule
provisioner:
name: ansible
config_options:
defaults:
vault_password_file: ${HOME}/.config/ansible/vault-id
inventory:
group_vars:
molecule:

View file

@ -1,8 +1,4 @@
custom_base_user_account: 'vagrant'
custom_security:
firewall:
mangle:
drop_privatenets: false
custom_common:
configure_resolv_conf: true
ip_dualstack: false
security_firewall_mangle_drop_privatenets: false
common_configure_resolve_conf: true
global_ip_dualstack: false

View file

@ -1,2 +1,3 @@
collections:
- community.docker
- ansible.netcommon