Move global defaults into role defaults
This commit is contained in:
57
roles/global_defaults/defaults/main.yml
Normal file
57
roles/global_defaults/defaults/main.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
os: ""
|
||||
filesystem: ""
|
||||
hostname: ""
|
||||
install_type: "physical"
|
||||
hypervisor: "none"
|
||||
install_drive: "/dev/sda"
|
||||
boot_iso: ""
|
||||
rhel_iso: ""
|
||||
custom_iso: false
|
||||
cis: false
|
||||
selinux: true
|
||||
is_rhel: false
|
||||
is_debian: false
|
||||
|
||||
hypervisor_url: ""
|
||||
hypervisor_username: ""
|
||||
hypervisor_password: ""
|
||||
hypervisor_datacenter: ""
|
||||
hypervisor_cluster: ""
|
||||
hypervisor_node: ""
|
||||
hypervisor_storage: ""
|
||||
vm_path: ""
|
||||
vmware_ssh: false
|
||||
vlan_name: ""
|
||||
note: ""
|
||||
|
||||
vm_ip: ""
|
||||
vm_nms: 24
|
||||
vm_gw: ""
|
||||
vm_dns: ""
|
||||
vm_dns_search: ""
|
||||
vm_nif: "vmbr0"
|
||||
vm_id: 0
|
||||
vm_size: 0
|
||||
vm_memory: 0
|
||||
vm_cpus: 4
|
||||
vm_ballo: 0
|
||||
extra_packages: []
|
||||
|
||||
luks_enabled: false
|
||||
luks_passphrase: ""
|
||||
luks_mapper_name: "SYSTEM_DECRYPTED"
|
||||
luks_auto_decrypt: true
|
||||
luks_auto_decrypt_method: "tpm2"
|
||||
luks_tpm2_device: "auto"
|
||||
luks_tpm2_pcrs: ""
|
||||
luks_keyfile_size: 64
|
||||
luks_options: "discard,tries=3"
|
||||
luks_type: "luks2"
|
||||
luks_cipher: "aes-xts-plain64"
|
||||
luks_hash: "sha512"
|
||||
luks_iter_time: 4000
|
||||
luks_key_size: 512
|
||||
luks_pbkdf: "argon2id"
|
||||
luks_use_urandom: true
|
||||
luks_verify_passphrase: true
|
||||
6
roles/global_defaults/tasks/main.yml
Normal file
6
roles/global_defaults/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Load global defaults
|
||||
ansible.builtin.debug:
|
||||
msg: "Global defaults loaded."
|
||||
verbosity: 1
|
||||
changed_when: false
|
||||
Reference in New Issue
Block a user