Advertisement
Guest User

Untitled

a guest
Feb 1st, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.85 KB | None | 0 0
  1. ---
  2.  
  3. - ovirt_auth:
  4.     url: "{{ ovirt_url }}"
  5.     username: "{{ ovirt_username }}"
  6.     password: "{{ ovirt_password }}"
  7.  
  8. - ovirt_disks:
  9.     auth: "{{ ovirt_auth }}"
  10.     storage_domain: oVirt-SlowStorage
  11.     name: horde_disk
  12.     size: 10GiB
  13.     format: cow
  14.     interface: virtio
  15.     state: present
  16.     bootable: true
  17.     wait: yes
  18.  
  19.  
  20. - ovirt_vms:
  21.     auth: "{{ ovirt_auth }}"
  22.     state: present
  23.     cluster: CIT-oVirt
  24.     name: horde_test
  25.     memory: 2GiB
  26.     cpu_cores: 2
  27.     cpu_sockets: 2
  28.     cpu_shares: 1024
  29.     type: server
  30.     operating_system: rhel_7x64
  31.     wait: yes
  32.     disks:
  33.       - name: horde_disk
  34.         bootable: true
  35.         activate: true
  36.     nics:
  37.       - name: nic1
  38.         profile_name: vlan911
  39.  
  40.  
  41.  
  42. - name: Always revoke the SSO token
  43.   ovirt_auth:
  44.     state: absent
  45.     ovirt_auth: "{{ ovirt_auth }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement