Hi, I'd say that Ansible scripts run from the manager are the way to go. We're doing export / import of OVAs from one local storage to another that way
Exemple to export OVAs : - hosts: localhost connection: local become: yes become_method: sudo gather_facts: no vars: olvm: localhost olvm_user: admin@internal cluster: cluster-xxxxxxxx-local host: yyyyyyyyyy exportDirectory: '/mnt/ova' vms: - VM1 - VM2 - VM3 vars_files: - password.yml tasks: - name: Login to OLVM manager ovirt_auth: hostname: "{{ olvm }}" username: "{{ olvm_user }}" password: "{{ olvm_password }}" ca_file: "{{ olvm_cafile | default(omit) }}" insecure: "{{ olvm_insecure | default(true) }}" tags: - always - name: Export VM as OVA ovirt_vm: auth: "{{ ovirt_auth }}" name: "{{ item }}" state: exported cluster: "{{ cluster }}" export_ova: host: "{{ host }}" filename: "{{ item }}.ova" directory: "{{ exportDirectory }}" wait: true loop: "{{ vms }}" - name: Cleanup OLVM auth token ovirt_auth: ovirt_auth: "{{ ovirt_auth }}" state: absent _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3PPFPJD7CBZM365R4KAGFUL3YC7IIIH4/