Backport: ovirt_vm fix quotas example (#69942)

* ovirt_vm: fix quotas example

* add changelog
pull/70713/head
Martin Nečas 5 years ago committed by GitHub
parent b665a65fea
commit ce9493fdb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- "ovirt_vm: fix quotas example"

@ -264,15 +264,16 @@ EXAMPLES = '''
# Defining a specific quota while creating a disk image: # Defining a specific quota while creating a disk image:
# Since Ansible 2.5 # Since Ansible 2.5
- ovirt_quotas_facts: - ovirt_quotas_info:
data_center: Default data_center: Default
name: myquota name: myquota
register: quota
- ovirt_disk: - ovirt_disk:
name: mydisk name: mydisk
size: 10GiB size: 10GiB
storage_domain: data storage_domain: data
description: somedescriptionhere description: somedescriptionhere
quota_id: "{{ ovirt_quotas[0]['id'] }}" quota_id: "{{ quota.ovirt_quotas[0]['id'] }}"
# Upload an ISO image # Upload an ISO image
# Since Ansible 2.8 # Since Ansible 2.8

Loading…
Cancel
Save