??????????????
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@`sçddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l Z dd l Z dd l Z ydd l Z eZWnek r«eZnXdd lmZdd lmZmZmZmZmZmZmZmZmZdd lmZddl m!Z!d„Z"e#e#e#e#e#e#ede#e#e#e#e#ee#e#d„Z$e#ede#d„Z%e#e#e#e#e#e#e#ede#de#e#ee#dee#e#eee#e#ed„Z&d„Z'e(dkrãe'ƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys÷ --- module: rax short_description: create / delete an instance in Rackspace Public Cloud description: - creates / deletes a Rackspace Public Cloud instance and optionally waits for it to be 'running'. version_added: "1.2" options: auto_increment: description: - Whether or not to increment a single number with the name of the created servers. Only applicable when used with the I(group) attribute or meta key. type: bool default: 'yes' version_added: 1.5 boot_from_volume: description: - Whether or not to boot the instance from a Cloud Block Storage volume. If C(yes) and I(image) is specified a new volume will be created at boot time. I(boot_volume_size) is required with I(image) to create a new volume at boot time. type: bool default: 'no' version_added: 1.9 boot_volume: description: - Cloud Block Storage ID or Name to use as the boot volume of the instance version_added: 1.9 boot_volume_size: description: - Size of the volume to create in Gigabytes. This is only required with I(image) and I(boot_from_volume). default: 100 version_added: 1.9 boot_volume_terminate: description: - Whether the I(boot_volume) or newly created volume from I(image) will be terminated when the server is terminated type: bool default: 'no' version_added: 1.9 config_drive: description: - Attach read-only configuration drive to server as label config-2 type: bool default: 'no' version_added: 1.7 count: description: - number of instances to launch default: 1 version_added: 1.4 count_offset: description: - number count to start at default: 1 version_added: 1.4 disk_config: description: - Disk partitioning strategy choices: - auto - manual version_added: '1.4' default: auto exact_count: description: - Explicitly ensure an exact count of instances, used with state=active/present. If specified as C(yes) and I(count) is less than the servers matched, servers will be deleted to match the count. If the number of matched servers is fewer than specified in I(count) additional servers will be added. type: bool default: 'no' version_added: 1.4 extra_client_args: description: - A hash of key/value pairs to be used when creating the cloudservers client. This is considered an advanced option, use it wisely and with caution. version_added: 1.6 extra_create_args: description: - A hash of key/value pairs to be used when creating a new server. This is considered an advanced option, use it wisely and with caution. version_added: 1.6 files: description: - Files to insert into the instance. remotefilename:localcontent flavor: description: - flavor to use for the instance group: description: - host group to assign to server, is also used for idempotent operations to ensure a specific number of instances version_added: 1.4 image: description: - image to use for the instance. Can be an C(id), C(human_id) or C(name). With I(boot_from_volume), a Cloud Block Storage volume will be created with this image instance_ids: description: - list of instance ids, currently only used when state='absent' to remove instances version_added: 1.4 key_name: description: - key pair to use on the instance aliases: - keypair meta: description: - A hash of metadata to associate with the instance name: description: - Name to give the instance networks: description: - The network to attach to the instances. If specified, you must include ALL networks including the public and private interfaces. Can be C(id) or C(label). default: - public - private version_added: 1.4 state: description: - Indicate desired state of the resource choices: - present - absent default: present user_data: description: - Data to be uploaded to the servers config drive. This option implies I(config_drive). Can be a file path or a string version_added: 1.7 wait: description: - wait for the instance to be in state 'running' before returning type: bool default: 'no' wait_timeout: description: - how long before wait gives up, in seconds default: 300 author: - "Jesse Keating (@omgjlk)" - "Matt Martz (@sivel)" notes: - I(exact_count) can be "destructive" if the number of running servers in the I(group) is larger than that specified in I(count). In such a case, the I(state) is effectively set to C(absent) and the extra servers are deleted. In the case of deletion, the returned data structure will have C(action) set to C(delete), and the oldest servers in the group will be deleted. extends_documentation_fragment: rackspace.openstack s - name: Build a Cloud Server gather_facts: False tasks: - name: Server build request local_action: module: rax credentials: ~/.raxpub name: rax-test1 flavor: 5 image: b11d9567-e412-4255-96b9-bd63ab23bcfe key_name: my_rackspace_key files: /root/test.txt: /home/localuser/test.txt wait: yes state: present networks: - private - public register: rax - name: Build an exact count of cloud servers with incremented names hosts: local gather_facts: False tasks: - name: Server build requests local_action: module: rax credentials: ~/.raxpub name: test%03d.example.org flavor: performance1-1 image: ubuntu-1204-lts-precise-pangolin state: present count: 10 count_offset: 10 exact_count: yes group: test wait: yes register: rax N(t AnsibleModule( tFINAL_STATUSEStrax_argument_spectrax_find_bootable_volumetrax_find_imagetrax_find_networktrax_find_volumetrax_required_togethert rax_to_dicttsetup_rax_module(txrange(t string_typescC`s+| r†|r†t|t|dtƒ}|s/dS|j}|jdƒ}|r†t|t|dtƒ}|rƒtd|ƒ|_qƒq†n|r|j rt|t|ƒ}|j}|jdƒ}|sÊdSt|t|dtƒ}||kròdStd|ƒ|_n|r$|jd|kr$dS|jS(Ntexittimage_idtid( R tpyraxtFalsetNonetvolume_image_metadatatgetR tdicttimage(tmoduletserverRt boot_volumetvolRt vol_image_idt server_image((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pytrax_find_server_imageís4       i,c(C`s+|dkrgn|}|dkr*in|}|dkrBin|}| dkrZgn| } | dkrrin| } |dkrŠgn|}|dkr¢gn|}tj}t}| rÆt}n| rOtjjtjj| ƒƒrOy8tjj| ƒ} t | ƒ}|j ƒ} |j ƒWqOt k rK}|j dd| ƒqOXnx|jƒD]s}tjj||ƒ}y-t |dƒ}|j ƒ||<|j ƒWq\t k rÎ}|j dd|ƒq\Xq\Wy|g}|}xi|D]a}|j|jjd|d|d|d|d|d |d | d | d |d | d|| ƒqéWWnJt k r›}|jr|t|jƒ}n t|ƒ}|j d|ƒnXt}|rEtjƒ|}|dk}x~|sßtjƒ|krAx9|D]1}y|jƒWqæt k rd|_qæXqæWtd„|ƒs1PntjdƒqÇWng}g} g}!x£|D]›}y|jƒWnt k rŽd|_nXt|dƒ}"|jdks´| rÄ|j|"ƒq^|jdkrã| j|"ƒq^|r^|!j|"ƒq^q^Wg|D]}#t|#dƒ^q}$||$}%i|d6dd6|%d6|d6| d6|!d6ig|%D]}&|&d^q`d6g|D]}&|&d^q~d6g| D]}&|&d^qœd6g|!D]}&|&d^qºd6d6}'|!rëd|'dRsiRtACTIVEtchangedtcreatetactiont instancestsuccessterrorttimeoutRt instance_idss(Timeout waiting for all servers to buildsFailed to build all servers(RRt cloudserversRtTruetostpathtisfilet expandusertopentreadtcloset Exceptiont fail_jsontkeystappendtserversR6tmessagetstrtreprttimeRRtfiltertsleepRt exit_json((RtnamesR(RR)R*R+twaitt wait_timeoutR-tgroupR,textra_create_argst user_dataR.texistingR0tcsR5tftetrpathtlpathtfileobjRJtbdmv2R'R%tend_timetinfiniteRR9R:R;tinstanceR2t untouchedR8titresults((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pyR6s¾  $               " %   cC`s|dkrgn|}|dkr*gn|}tj}t}i}g}x'|D]} |j|jj| ƒƒqRWxh|D]`} y| jƒWn&tk r¸} |j d| j ƒnXt }t | dƒ} | || dRRNRROtvaluesRPRQ(RR<RSRTtkeptRYR5R8RJt instance_idRR[RbR`RaR;R:R9R2RdRe((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pyRi„sr           "%   ic6/C`sù |dkrin|}|dkr*in|}| dkrBgn| } |dkrZgn|}|dkrrin|}tj}tj}|s£|jddƒn|dksÇ|dkr£| dkr£| rï| rï| rï|jddƒnxFtd|d|ƒjƒD])\}}|s |jdd|ƒq q W|r_| r_| r_|jdd ƒn|r…|r…| r…|jdd ƒn|r£|r£|r£d}q£ng}| rÈd |krÈ| |d R textendR tsett TypeErrorRKt startswithtretsubRJRtmetadataRRItsearchR'tintRUtaddRt differencetlenRRiRRQR$tupdateRtutilstget_idR6(6RtstateR'R(RR)R*R+RSRTR-tcountRUR<t exact_counttnetworkst count_offsettauto_incrementRVRWR.tboot_from_volumeR tboot_volume_sizetboot_volume_terminateRYtcnwtargtvalueRJtktvRdt was_absentR,tnetworktnumbersR[tpatternRtmatchtnumbert number_rangetavailable_numberstdiffRkRRt name_slicetnumbers_to_useR8RpR0tmappingRt((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pyR=Ósª  $(    -                                               c:C`sWtƒ}|jtdtdtddƒdtdtddƒdtddƒdtdd dd ƒd tdddtƒd tdtddƒd tdddd ƒdtdddd ƒdtdddgƒdtdtddƒdtdddiƒdtdddiƒdtdddiƒdtƒdtƒdtƒdtddƒdtdd gƒd!tdddiƒd"tƒd#tdddd$d%gƒd&tƒd'tdd(dd(d)gƒd*td+tƒd,tdtddƒd-tdd.dd ƒƒƒtd/|d0tƒƒ}ts'|jd1d2ƒn|j j d&ƒ}|dk rX|jd1d3ƒn|j j dƒ}|j j dƒ}|j j dƒ}|j j dƒ}|j j d ƒ}|j j d ƒ}|j j d ƒ} |j j dƒ} |j j dƒ} | r| j ƒ} n|j j dtƒ} |j j dƒ} |j j dƒ}|j j dƒ}|j j dƒ}|j j dƒ}|j j dƒ}|j j dƒ}|j j dƒ}|j j d!ƒ}|j j d"ƒ}|j j d#ƒ}|j j d'ƒ}|j j d*ƒ}|j j d,ƒ}t |j j d-ƒƒ}t|tƒ| r—tjd4tjjj| t_tjj}d5| kr—| d5|_q—ntjdkr¹|jd1d6ƒnt|d'|d"|d|d|d!|d|d|d,|d-|d| d | d|d|d| d#|d| d|d|d*|d |d|d|d|d |ƒdS(7NR”tdefaultttypetboolR•R RLR–RˆidR—R.RiR“R-tchoicestautotmanualR‘textra_client_argsRRVR+R(RURR<R|R*taliasestkeypairR)R'R’tpublictprivatetserviceRRmRnRWtno_logRSRTi,t argument_spectrequired_togetherR%s!pyrax is required for this modules„The "service" attribute has been deprecated, please remove "service: cloudservers" from your playbook pertaining to the "rax" moduletregiont bypass_urlssFailed to instantiate client. This typically indicates an invalid region or an incorrectly capitalized region name.(R RŒRR>RRRt HAS_PYRAXRGtparamsRRtupperRˆRRtconnect_to_cloudserversR=tclientt region_nametmanagement_url(R¶RR´R”R•R R–R—R.RR“R-R‘R¯RVR+R(RURR<R*R)R'R’RRWRSRTR¾((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pytmains¨                   t__main__()t __future__RRRRªt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESR~R?R„RNRR>Rºt ImportErrorRtansible.module_utils.basicRtansible.module_utils.raxR R R R R RRRRtansible.module_utils.six.movesRtansible.module_utils.sixRR$RR6RiR=RÁt__name__(((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/rackspace/rax.pytsJ   ¤)        @ !  sO     ÿA g