refactor!: switch hosts variables to a flat layout
This commit is contained in:
parent
f669dea62a
commit
779f2766f2
33 changed files with 270 additions and 322 deletions
|
@ -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:
|
||||
|
|
|
@ -33,6 +33,9 @@ platforms:
|
|||
- molecule
|
||||
provisioner:
|
||||
name: ansible
|
||||
config_options:
|
||||
defaults:
|
||||
vault_password_file: ${HOME}/.config/ansible/vault-id
|
||||
inventory:
|
||||
group_vars:
|
||||
molecule:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
collections:
|
||||
- community.docker
|
||||
- ansible.netcommon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue