Hello ever1 i create a playbook for create and attach vdisk (from direct lun) to vm, the firs block work. I want attach the created vdisk to second vm. how can do?
--- # Add fiber chanel disk - name: Create disk ovirt.ovirt.ovirt_disk: auth: "{{ ovirt_auth }}" name: "{{ item.0 }}" host: "{{host}}" shareable: True interface: virtio_scsi vm_name: "{{hostname}}" scsi_passthrough: disabled logical_unit: id: "{{ item.1 }}" storage_type: fcp loop: "{{ disk_name | zip(lun) | list }}" ## Add disk second node #- name: Create disk # ovirt.ovirt.ovirt_disk: # auth: "{{ ovirt_auth }}" # vm_name: "{{hostname2}}" # name: "{{ item.0 }}" # host: "{{host}}" # interface: virtio_scsi # logical_unit: # id: "{{ item.1 }}" # storage_type: fcp # loop: "{{ disk_name | zip(lun) | list }}" thanks _______________________________________________ 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/FCNAKTTSNKYDJIQ5ZE44XOTAHGF3YOG4/