--- - name: Add VM to Affinity Group in oVirt hosts: localhost gather_facts: no tasks: - name: Add VM to Affinity Group ovirt_vm: auth: "{{ ovirt_auth }}" name: "your_vm_name" # Replace with the name of your VM affinity_group_name: "your_affinity_group_name" # Replace with the name of your affinity group state: present delegate_to: localhost
On Tuesday, March 28, 2023 at 4:08:48 AM UTC-7 Pietro Pesce (Mistak3) wrote: > Hello > > i want create a task to add vm on existing affinity group. How can do? > > Thanks > Regards > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/556f2266-e73c-4cdb-9a3c-c33fcc5cbf7dn%40googlegroups.com.