I would like to upload iso to ovirt, but I'm getting error:
OSError: [Errno 2] No such file or directory: '/rear/olrearc'
fatal: [olvman]: FAILED! => {
How that ansible can't find iso image? If I change upload_image_path:
/rear/olrearc/rear-olrearc.iso I'm getting the same error.
[ansible@nfs olvm]$ ll /rear/olrearc/rear-olrearc.iso
-rw-rw-rw-. 1 root root 331063296 Mar 22 14:54
/rear/olrearc/rear-olrearc.iso
---
- hosts: om
gather_facts: no
vars_files:
- password.yml
tasks:
- name: Login to OM manager
ovirt_auth:
hostname: "{{ om_fqdn }}"
username: "{{ om_user }}"
password: "{{ om_password }}"
ca_file: "{{ om_cafile | default(omit) }}"
insecure: "{{ om_insecure | default(true) }}"
tags:
- always
- ovirt_disk:
auth: "{{ ovirt_auth }}"
name: rear-olrearc.iso
upload_image_path: /rear/olrearc
storage_domain: os-domain-1
wait: true
bootable: true
format: raw
content_type: iso
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/41714610-e53e-4af3-bfc0-9c5ffdf6ef2en%40googlegroups.com.