diff --git a/aap/playbooks/create-vm.yaml b/aap/playbooks/create-vm.yaml index 4ab4aba..7883820 100644 --- a/aap/playbooks/create-vm.yaml +++ b/aap/playbooks/create-vm.yaml @@ -4,7 +4,7 @@ ## $ dnf install -y ansible python3-jmespath python3-netaddr ## - name: Create a VM with cloud-init and using an OCI artefact as disk source - hosts: "{( hypervisor )}" + hosts: "{{ hypervisor }}" gather_facts: false ## ## Pre-requisites on the managed node @@ -25,15 +25,15 @@ ## libvirt_domain_parameters: - name: "{( vm_name )}" - ipv4_address: "{( vm_ip )}"/24 + name: "{{ vm_name }}" + ipv4_address: "{{ vm_ip }}"/24 ipv4_gateway: 192.168.122.1 ipv4_nameserver: 192.168.122.1 network: default - rhel_version: "{( rhel_version )}" - ram: "{( vm_ram )}" - vcpu: "{( vm_vcpu )}" - disk: "{( vm_disk )}" + rhel_version: "{{ rhel_version }}" + ram: "{{ vm_ram }}" + vcpu: "{{ vm_vcpu }}" + disk: "{{ vm_disk }}" architecture: x86_64 ##