--- tags: - Ansible - Automation --- ## Purpose Record the fields and variables used by the example AWX job template that deploys a Hyper-V guest. ```text title="Deploy Hyper-V VM" Name: Deploy Hyper-V VM Inventory: (NTLM) MOON-HOST-01 Playbook: playbooks/Windows/Hyper-V/Deploy-VM.yml Credentials: (NTLM) nicole.rappe@MOONGATE.local Execution Environment: AWX EE (latest) Project: Ansible Playbooks (Gitea) Variables: --- random_number: "{{ lookup('password', '/dev/null chars=digits length=4') }}" random_letters: "{{ lookup('password', '/dev/null chars=ascii_uppercase length=4') }}" vm_name: "NEXUS-TEST-{{ random_number }}{{ random_letters }}" vm_memory: "8589934592" #Measured in Bytes (e.g. 8GB) vm_storage: "68719476736" #Measured in Bytes (e.g. 64GB) iso_path: "C:\\ubuntu-22.04-live-server-amd64.iso" vm_folder: "C:\\Virtual Machines\\{{ vm_name_fact }}" ``` ## Related Documentation - [Related AWX Documentation]() — Find the connected deployments, procedures, and references for this subject.