??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó ßUdac@`sddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l Z y*dd l m Z dd l mZeZWnek r¡eZnXddlmZdZdZdZdddgZddddddddgZgZeaeadefd„ƒYZdefd„ƒYZd „Z d!„Z!d"„Z"d#„Z#d$„Z$d%„Z%e&d&kr{e%ƒnd S('i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys --- module: rhevm short_description: RHEV/oVirt automation description: - This module only supports oVirt/RHEV version 3. - A newer module M(ovirt_vm) supports oVirt/RHV version 4. - Allows you to create/remove/update or powermanage virtual machines on a RHEV/oVirt platform. version_added: "2.2" requirements: - ovirtsdk author: - Timothy Vandenbrande (@TimothyVandenbrande) options: user: description: - The user to authenticate with. type: str default: admin@internal password: description: - The password for user authentication. type: str server: description: - The name/IP of your RHEV-m/oVirt instance. type: str default: 127.0.0.1 port: description: - The port on which the API is reachable. type: int default: 443 insecure_api: description: - A boolean switch to make a secure or insecure connection to the server. type: bool default: no name: description: - The name of the VM. type: str cluster: description: - The RHEV/oVirt cluster in which you want you VM to start. type: str datacenter: description: - The RHEV/oVirt datacenter in which you want you VM to start. type: str default: Default state: description: - This serves to create/remove/update or powermanage your VM. type: str choices: [ absent, cd, down, info, ping, present, restarted, up ] default: present image: description: - The template to use for the VM. type: str type: description: - To define if the VM is a server or desktop. type: str choices: [ desktop, host, server ] default: server vmhost: description: - The host you wish your VM to run on. type: str vmcpu: description: - The number of CPUs you want in your VM. type: int default: 2 cpu_share: description: - This parameter is used to configure the CPU share. type: int default: 0 vmmem: description: - The amount of memory you want your VM to use (in GB). type: int default: 1 osver: description: - The operating system option in RHEV/oVirt. type: str default: rhel_6x64 mempol: description: - The minimum amount of memory you wish to reserve for this system. type: int default: 1 vm_ha: description: - To make your VM High Available. type: bool default: yes disks: description: - This option uses complex arguments and is a list of disks with the options name, size and domain. type: list ifaces: description: - This option uses complex arguments and is a list of interfaces with the options name and vlan. type: list aliases: [ interfaces, nics ] boot_order: description: - This option uses complex arguments and is a list of items that specify the bootorder. type: list default: [ hd, network ] del_prot: description: - This option sets the delete protection checkbox. type: bool default: yes cd_drive: description: - The CD you wish to have mounted on the VM when I(state = 'CD'). type: str timeout: description: - The timeout you wish to define for power actions. - When I(state = 'up'). - When I(state = 'down'). - When I(state = 'restarted'). type: int s— vm: description: Returns all of the VMs variables and execution. returned: always type: dict sample: '{ "boot_order": [ "hd", "network" ], "changed": true, "changes": [ "Delete Protection" ], "cluster": "C1", "cpu_share": "0", "created": false, "datacenter": "Default", "del_prot": true, "disks": [ { "domain": "ssd-san", "name": "OS", "size": 40 } ], "eth0": "00:00:5E:00:53:00", "eth1": "00:00:5E:00:53:01", "eth2": "00:00:5E:00:53:02", "exists": true, "failed": false, "ifaces": [ { "name": "eth0", "vlan": "Management" }, { "name": "eth1", "vlan": "Internal" }, { "name": "eth2", "vlan": "External" } ], "image": false, "mempol": "0", "msg": [ "VM exists", "cpu_share was already set to 0", "VM high availability was already set to True", "The boot order has already been set", "VM delete protection has been set to True", "Disk web2_Disk0_OS already exists", "The VM starting host was already set to host416" ], "name": "web2", "type": "server", "uuid": "4ba5a1be-e60b-4368-9533-920f156c817b", "vm_ha": true, "vmcpu": "4", "vmhost": "host416", "vmmem": "16" }' sÊ - name: Basic get info from VM rhevm: server: rhevm01 user: '{{ rhev.admin.name }}' password: '{{ rhev.admin.pass }}' name: demo state: info - name: Basic create example from image rhevm: server: rhevm01 user: '{{ rhev.admin.name }}' password: '{{ rhev.admin.pass }}' name: demo cluster: centos image: centos7_x64 state: present - name: Power management rhevm: server: rhevm01 user: '{{ rhev.admin.name }}' password: '{{ rhev.admin.pass }}' cluster: RH name: uptime_server image: centos7_x64 state: down - name: Multi disk, multi nic create example rhevm: server: rhevm01 user: '{{ rhev.admin.name }}' password: '{{ rhev.admin.pass }}' cluster: RH name: server007 type: server vmcpu: 4 vmmem: 2 ifaces: - name: eth0 vlan: vlan2202 - name: eth1 vlan: vlan36 - name: eth2 vlan: vlan38 - name: eth3 vlan: vlan2202 disks: - name: root size: 10 domain: ssd-san - name: swap size: 10 domain: 15kiscsi-san - name: opt size: 10 domain: 15kiscsi-san - name: var size: 10 domain: 10kiscsi-san - name: home size: 10 domain: sata-san boot_order: - network - hd state: present - name: Add a CD to the disk cd_drive rhevm: user: '{{ rhev.admin.name }}' password: '{{ rhev.admin.pass }}' name: server007 cd_drive: rhev-tools-setup.iso state: cd - name: New host deployment + host network configuration rhevm: password: '{{ rhevm.admin.pass }}' name: ovirt_node007 type: host cluster: rhevm01 ifaces: - name: em1 - name: em2 - name: p3p1 ip: 172.31.224.200 netmask: 255.255.254.0 - name: p3p2 ip: 172.31.225.200 netmask: 255.255.254.0 - name: bond0 bond: - em1 - em2 network: rhevm ip: 172.31.222.200 netmask: 255.255.255.0 management: yes - name: bond0.36 network: vlan36 ip: 10.2.36.200 netmask: 255.255.254.0 gateway: 10.2.36.254 - name: bond0.2202 network: vlan2202 - name: bond0.38 network: vlan38 state: present N(tAPI(tparams(t AnsibleModuleiitdesktopthosttservertabsenttcdtdowntinfotpingtpresenttrestarttuptRHEVConncB`s[eZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d „Z"d!„Z#d"„Z$d#„Z%d$„Z&d%„Z'RS(&sConnection to RHEV-Mc C`sÕ||_|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}d||f}y>td|d|d|d t|ƒƒ}|jƒ||_Wntk rÐtd ƒ‚nXdS( NtusertpasswordR tportt insecure_apis https://%s:%sturltusernametinsecuresFailed to connect to RHEV-M.(tmoduleR tgetRtstrttesttconnt Exception( tselfRRRR RRRtapi((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt__init__`s '   cC`s|jjƒdS(N(R"t disconnect(R$((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt__del__rsc C`s¼y€tjd|d|jjjd|ƒd|jjjd|ƒdtjdtƒƒ}|jjj |ƒt dƒt ƒtSWn5t k r·}t dƒt t |ƒƒtƒtSXdS(Ntnametclusterttemplatetdiskstclones VM is createdsFailed to create VM(R tVMR"tclustersRt templatestDiskstTruetvmstaddtsetMsgt setChangedR#R t setFailedtFalse(R$R)R*R+tvmparamste((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt createVMimageus   c C`sÂy†tjd|d|jjjd|ƒdtjd|ƒd|jjjddƒd|ƒ}|jjj|ƒt dƒt ƒt SWn5t k r½}t dƒt t |ƒƒtƒtSXdS( NR)R*tosttype_R+tBlanks VM is createdsFailed to create VM(R R.R"R/RtOperatingSystemR0R3R4R5R6R2R#R R7R8(R$R)R*R<t actiontypeR9R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytcreateVM‡s     c C`sÒ|j|ƒ} tjd|ddt|ƒdtd|d|d|d|d tjd |j|ƒgƒƒ} y3| jj| ƒ| j ƒt d |ƒt ƒWn=t k rß} t ƒt d |d ƒt t| ƒƒtSXy®| jjd|ƒ} d} xz| jjdkrz| jjd|ƒ} | dkr`t d|t| jjƒfƒt ƒ‚q| d7} tjdƒqWt d|dƒWn=t k rÍ} t ƒt d|dƒt t| ƒƒtSXtS(NR)tsizeitwipe_after_deletetsparset interfacetformattbootabletstorage_domainststorage_domainsSuccessfully added disk sError attaching s;disk, please recheck and remove any leftover configuration.itokidsError, disk %s, state %sis The disk s is ready.sError getting the state of t.ii@(tget_VMR tDisktintR2tStorageDomainst get_domainR,R4tupdateR5R6R#R7R R8RRtstatettimetsleep(R$tvmnametdisknametdisksizet diskdomaint diskinterfacet diskformattdiskallocationtypetdiskbootR.tnewdiskR:t currentdisktattempt((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt createDiskšsL        c C`sÅ|j|ƒ}|j|jjƒ}|j|jjƒ}tjd|d|jj d|ƒd|ƒ}y3|j j |ƒ|j ƒt d|ƒtƒWn=tk rØ} tƒt d|dƒt t| ƒƒtSXy¨|j j d|ƒ} d} xt| jtk rm|j j d|ƒ} | dkrSt d |t| jƒfƒtƒ‚qú| d7} tjd ƒqúWt d |d ƒWn=tk rÀ} tƒt d |dƒt t| ƒƒtSXtS(NR)tnetworkREsSuccessfully added iface sError attaching s= iface, please recheck and remove any leftover configuration.iidsError, iface %s, state %sis The iface s is ready.sError getting the state of RK(RLtget_cluster_byidR*tidt get_DC_byidt data_centerR tNICtnetworksRtnicsR4RQR5R6R#R7R R8tactiveR2RSRT( R$RUtnicnametvlanRER.tCLUSTERtDCtnewnicR:t currentnicR_((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt createNICÈsD       cC`s|jjjd|ƒS(NR)(R"t datacentersR(R$tdc_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_DCðscC`s|jjjd|ƒS(NRc(R"RqR(R$tdc_id((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRdóscC`s|jjjd|ƒS(NR)(R"R3R(R$tvm_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRLöscC`s|jjjd|ƒS(NRc(R"R/R(R$t cluster_id((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRbùscC`s|jjjd|ƒS(NR)(R"R/R(R$t cluster_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt get_clusterüscC`s|jjjd|ƒS(NRc(R"tstoragedomainsR(R$tdom_id((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_domain_byidÿscC`s|jjjd|ƒS(NR)(R"RyR(R$t domain_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRPscC`s|jjj|ƒS(N(R"R,R(R$tdisk((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_diskscC`s|j|ƒjj|ƒS(N(RsRgR(R$Rrt network_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt get_networkscC`s|jjjd|ƒS(NRc(R"RgR(R$t network_id((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_network_byid scC`s|j|ƒjj|ƒS(N(RLRhR(R$Rutnic_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_NICscC`s|jjjd|ƒS(NR)(R"thostsR(R$t host_name((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytget_HostscC`s|jjjd|ƒS(NRc(R"R…R(R$thost_id((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt get_Host_byidscC`s|j|ƒ}tt|ƒdddƒ|_y#|jƒtdƒtƒtSWn5tk rŠ}tdƒtt|ƒƒt ƒt SXdS(NisThe Memory has been updated.sFailed to update memory.( RLRNtmemoryRQR5R6R2R#R R7R8(R$R)RŠR.R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt set_Memorys!   cC`s’|j|ƒ}tt|ƒdddƒ|j_y#|jƒtdƒtƒtSWn5tk r}tdƒtt |ƒƒt ƒt SXdS(Nis#The memory policy has been updated.sFailed to update memory policy.( RLRNt memory_policyt guaranteedRQR5R6R2R#R R7R8(R$R)RŒR.R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytset_Memory_Policy%s$   cC`sƒ|j|ƒ}t|ƒ|jj_y#|jƒtdƒtƒtSWn5t k r~}tdƒtt |ƒƒt ƒt SXdS(Ns$The number of CPUs has been updated.s$Failed to update the number of CPUs.( RLRNtcputtopologytcoresRQR5R6R2R#R R7R8(R$R)RR.R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytset_CPU3s   cC`s}|j|ƒ}t|ƒ|_y#|jƒtdƒtƒtSWn5tk rx}tdƒtt|ƒƒt ƒt SXdS(NsThe CPU share has been updated.sFailed to update the CPU share.( RLRNt cpu_sharesRQR5R6R2R#R R7R8(R$R)t cpu_shareR.R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt set_CPU_shareAs   cC`sØ|j|ƒ}td|ƒ|jƒ|krŒy"|j|ƒtdƒtƒWq–tk rˆ}tdƒtt|ƒƒtƒtSXn tdƒt |j ƒdt |ƒkry(dt |ƒ|_ tdƒtƒWqVtk r}tdƒtt|ƒƒtƒtSXn>t |j ƒdt |ƒkrLtdƒtƒtStd ƒt|j ƒt|ƒkrÊy||_ td ƒtƒWqÔtk rÆ}td ƒtt|ƒƒtƒtSXn td ƒt S(NsChecking disk s$Updated the boot option on the disk.s*Failed to set the boot option on the disk.s&The boot option of the disk is correctisUpdated the size of the disk.s&Failed to update the size of the disk.s Shrinking disks is not supportedsThe size of the disk is corrects"Updated the interface of the disk.s+Failed to update the interface of the disk.s$The interface of the disk is correctii@ii@ii@( R~R5t get_bootablet set_bootableR6R#R R7R8RNRBRER2(R$RVRWRYR\tDISKR:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytset_DiskOsP               c C`sg|j||ƒ}|j|ƒ}|j|jjƒ}|j|jjƒ} |jt| j ƒ|ƒ} t ƒ|j |kr||_ t d|ƒt ƒnt|j jƒt| jƒkrã|j| ƒt d|ƒt ƒn|j|kr||_t d|ƒt ƒny|jƒt dƒWn5tk rb} t dƒt t| ƒƒtƒtSXtS(NsUpdating iface name to sUpdating iface network to sUpdating iface interface to s$iface has successfully been updated.sFailed to update the iface.(R„RLRbR*RcRdReR€R R)t checkFailR5R6Rat set_networkRERQR#R7R8R2( R$RURjtnewnameRkRERfR.RlRmtNETWORKR:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytset_NIC|s6  !      cC`si|j|ƒ}||_y|jƒtƒWn5tk rd}tdƒtt|ƒƒtƒtSXt S(Ns#Failed to update delete protection.( RLtdelete_protectedRQR6R#R5R R7R8R2(R$RUtdel_protR.R:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytset_DeleteProtection™s    cC`sœ|j|ƒ}g}x'|D]}|jtjd|ƒƒqW||j_y|jƒtƒWn5tk r—}t dƒt t |ƒƒt ƒt SXt S(Ntdevs Failed to update the boot order.(RLtappendR tBootR<tbootRQR6R#R5R R7R8R2(R$RUt boot_orderR.t bootordertdeviceR:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt set_BootOrder¦s     cC`sN|j|ƒ}|j|ƒ}|dkr@tdƒtƒ}g}d}yŸx˜|D]} yJtd| dƒd| kr‡| d}nd| kr¹d| kr¬d| dd | kr¼g} x#| d D]} | j|| ƒq-Wy^tjdtjd| ƒdtj dtj ddddƒtj ddddƒgƒƒ} Wn=t k rå} td| dƒt ƒtt | ƒƒtSXytjd tjd| d ƒd| dd| ddtjd| dd | d d | d ƒdtd| ƒ}|j|ƒtd| dƒWq;t k r¸} td| ddƒt ƒtt | ƒƒtSXq”tjd tjd| d ƒd| dd| ddtjd| dd | d d | d ƒƒ}|j|ƒtd| dƒnVtjd| dd tjƒd| ddtjd| dd | d d | d ƒƒ} | || d|dkr>t} n|j j |ƒ} | dkr„|j j ||||| | | | ƒn|j j ||| | ƒt ƒ|d 7}qVWtS(NiRGt_Diskt_R)Rªt/RBiRs `domain` is a required disk key.REtvirtioRFtrawtthin(RR8R2R RtreplaceRÈR5R7R"R~R`R™Rš(R$R)R,tcountert bootselectR}RVRWRXRYRZR[R\R˜((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytsetDisks5s8    4    (c C`sk|jƒ|jj|ƒ}d}t|ƒ}xi|jjƒD]X}||kro||}|jddƒ}|dkrŒtdƒt ƒnpt |ƒt |j ƒkrütdƒx-|jjƒD]}|jj ||j ƒqÁW|j ||ƒtƒtS|jddƒ} | dkr.tdƒt ƒntƒ|jddƒ} |jj|t |j ƒ|| | ƒn|jj ||j ƒ|d 7}tƒq>WxÊ||krf||}|jddƒ}|dkråtdƒt ƒn|jddƒ} | dkrtdƒt ƒnttkr'tS|jddƒ} |jj||| | ƒ|d 7}tƒqWtS( NiR)s`name` is a required iface key.s5ifaces are in the wrong order, rebuilding everything.Rks`vlan` is a required iface key.RERi(RR"RLtlenRhR RRÈR5R7R R)Rät setNetworksRšR2RžtfailedR8Rp( R$RURÙR.RtlengthRfRÞR)RkRE((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyR YsZ           (            cC`sl|jƒ|jj|ƒ}t|jƒt|ƒkr^|jj||ƒtƒtdƒn tdƒtS(Ns%`delete protection` has been updated.s0`delete protection` already has the right value.( RR"RLtboolRŸR¡RšR5R2(R$RUR R.((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytsetDeleteProtections   cC`sŒ|jƒ|jj|ƒ}g}x-|jjƒD]}|jt|jƒƒq2W||kr~|jj||ƒt dƒn t dƒt S(NsThe boot order has been sets#The boot order has already been set( RR"RLR<R R£R R¢R©R5R2(R$RUR¦R.R§R((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt setBootOrder˜s    cC`s-|jƒ|j|ddƒ|jj|ƒS(NRi,(RtsetPowerR"Rå(R$RU((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytremoveVM¦s cC`s|jƒ|jj|ƒ}|dkr=tdƒtƒtS||jjkr`td|ƒn·|dkr“tdƒ|jj ||ƒt ƒno|dkrÆtdƒ|jj ||ƒt ƒn<|dkr|j |d|ƒt ƒ|j |d|ƒnt ƒtd|ƒtS( NsVM does not exist.sVM state was already RsVM is going to startRsVM is going to stopt restartedsthe vm state is set to (RR"RLRÈR5R7R8RRRRéR6RëR&RšR2(R$RURRRèR.((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyR&«s.          cC`s7|jƒ|r#|jj||ƒS|jj|ƒSdS(N(RR"RóRú(R$RURñ((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytsetCDÆs cC`sñ|jƒ|jj||ƒS|jj|ƒ}|jj|ƒ}|jjdkri|jj||ƒnHt|jjj ƒt|j ƒkr£|jj||ƒnt d|ƒt ƒt|j j ƒdkræ|jj||ƒnt ƒtS(Ns%VM's startup host was already set to R(RR"RöRLR‡RôR RÈR RcR5RšRRRRùR2(R$RURõR.RÚ((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyt setVMHostÍs $cC`s |jƒ|jj|||ƒS(N(RR"Râ(R$thostnameR*RÙ((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytsetHostãs (RûRüR&RR!RR;RARRRRRR R$R%R'R&R)R*R,(((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRþãs&    .       $ 4     cC`s!trtjdtƒntSdS(Ntmsg(R!Rt fail_jsonR-R2(((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyRšèscC`s tadS(N(R2R!(((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyR7ïscC`s tadS(N(R2tchanged(((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyR6ôscC`stj|ƒdS(N(R-R£(tmessage((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pyR5ùscC`s t|ƒ}|jjddƒ}|dkrH|jƒtidd6fS|dkr®|jjdƒ}|s€tdƒttfS|j|ƒ}tit d6td 6|d 6fS|dkrÊt }|jjdƒ}|sìtdƒttfS|jjd ƒ}|d ks|d kr|j|ƒ}|r8tdƒn|jjdƒ}|dkrjtdƒt ƒn|jjdƒ}|ræ|jjdƒ} | dkr´tdƒt ƒnt ƒ|j|||| ƒt krGt|fSna|jjdƒ} | dkrtdƒt ƒnt ƒ|j||| |ƒt krGt|fSt}|j|ƒ}|jjdƒ} | dk rÛ|jjdƒ} | dkr¡| } nt} t|dƒ| krÐtdƒt } nt}t|dƒ| krÿtdƒt }n| | krtdƒttfS|r—| r—| t|dƒkrl|j|d| ƒ|j|d| ƒqÑ|j|d| ƒ|j|d| ƒn:|r´|j|d| ƒn| rÑ|j|d| ƒnt ƒn|jjdƒ}t|dƒ|krtdƒn&|j|d|ƒt kr6ttfS|jjd ƒ}|dk r t|d!ƒ|krwtd"ƒq |j|d|ƒt kr ttfSn|jjdƒ} | dk rç|j|d| ƒt krçttfSn|jjd#dƒ}|dk r1|j|d|ƒt kr1ttfSn|jjd$ƒ}|j|d|ƒt krittfS|jjd%ƒ}|j|d|ƒt kr¡ttfS|jjd&ƒ}|râ|j|d|ƒt krâttfSn|j|ƒ}||d'|d*kré|jjdƒ}|stdƒttfS|jjd ƒ}|d ks,|d kr |j|ƒ}|r½tdƒ|jjd$ƒ}|j|d|ƒt krƒttfS|j|dƒt kr¦ttfStd+ƒd,|dtjd:d;ƒnt}yttƒ\}}Wn)t k r…}tjd:t |ƒƒnX|d4kr«tjd<|d:|ƒntj |dS(=Nt argument_specRRR3R tdefaultRtchoicesRRRRRR(RRsadmin@internalRtrequiredtno_logR s 127.0.0.1RRNi»RR#R)R4t datacentertDefaultR R R*RªRõR8iR6iR,R R5t rhel_6x64RÙtaliasest interfacesRhRèR7tvm_haR”iR¦thdRaR RñR-s@The 'ovirtsdk' module is not importable. Check the requirements.trc( R RÉR2R8RtHAS_SDKR.R;R@R#R t exit_json(RMtresultR:((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytmain¾sH3$ t__main__('t __future__RRRR3t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtRETURNtEXAMPLESRSt ovirtsdk.apiRt ovirtsdk.xmlR R2RNt ImportErrorR8tansible.module_utils.basicR R<R;tRHEV_UNAVAILABLEtRHEV_TYPE_OPTSt STATE_OPTSR-R/R!tobjectRRþRšR7R6R5R@RQRû(((sD/usr/lib/python2.7/site-packages/ansible/modules/cloud/misc/rhevm.pytsH   …Bp    ÿÿˆÿ     À .