??????????????
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 d Z ydd lmZeZWn#ek rµe jƒZ eZnXdd lmZmZd „Zd„Zd„Zd„Zedkreƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bysH --- module: linode short_description: Manage instances on the Linode Public Cloud description: - Manage Linode Public Cloud instances and optionally wait for it to be 'running'. version_added: "1.3" options: state: description: - Indicate desired state of the resource choices: [ absent, active, deleted, present, restarted, started, stopped ] default: present api_key: description: - Linode API key name: description: - Name to give the instance (alphanumeric, dashes, underscore). - To keep sanity on the Linode Web Console, name is prepended with C(LinodeID-). required: true displaygroup: description: - Add the instance to a Display Group in Linode Manager. version_added: "2.3" linode_id: description: - Unique ID of a linode server. This value is read-only in the sense that if you specify it on creation of a Linode it will not be used. The Linode API generates these IDs and we can those generated value here to reference a Linode more specifically. This is useful for idempotence. aliases: [ lid ] additional_disks: description: - List of dictionaries for creating additional disks that are added to the Linode configuration settings. - Dictionary takes Size, Label, Type. Size is in MB. version_added: "2.3" alert_bwin_enabled: description: - Set status of bandwidth in alerts. type: bool version_added: "2.3" alert_bwin_threshold: description: - Set threshold in MB of bandwidth in alerts. version_added: "2.3" alert_bwout_enabled: description: - Set status of bandwidth out alerts. type: bool version_added: "2.3" alert_bwout_threshold: description: - Set threshold in MB of bandwidth out alerts. version_added: "2.3" alert_bwquota_enabled: description: - Set status of bandwidth quota alerts as percentage of network transfer quota. type: bool version_added: "2.3" alert_bwquota_threshold: description: - Set threshold in MB of bandwidth quota alerts. version_added: "2.3" alert_cpu_enabled: description: - Set status of receiving CPU usage alerts. type: bool version_added: "2.3" alert_cpu_threshold: description: - Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total. version_added: "2.3" alert_diskio_enabled: description: - Set status of receiving disk IO alerts. type: bool version_added: "2.3" alert_diskio_threshold: description: - Set threshold for average IO ops/sec over 2 hour period. version_added: "2.3" backupweeklyday: description: - Integer value for what day of the week to store weekly backups. version_added: "2.3" plan: description: - plan to use for the instance (Linode plan) payment_term: description: - payment term to use for the instance (payment term in months) default: 1 choices: [ 1, 12, 24 ] password: description: - root password to apply to a new server (auto generated if missing) private_ip: description: - Add private IPv4 address when Linode is created. type: bool default: "no" version_added: "2.3" ssh_pub_key: description: - SSH public key applied to root user swap: description: - swap size in MB default: 512 distribution: description: - distribution to use for the instance (Linode Distribution) datacenter: description: - datacenter to create an instance in (Linode Datacenter) kernel_id: description: - kernel to use for the instance (Linode Kernel) version_added: "2.4" wait: description: - wait for the instance to be in state C(running) before returning type: bool default: "no" wait_timeout: description: - how long before wait gives up, in seconds default: 300 watchdog: description: - Set status of Lassie watchdog. type: bool default: "True" version_added: "2.2" requirements: - python >= 2.6 - linode-python author: - Vincent Viallet (@zbal) notes: - Please note, linode-python does not have python 3 support. - This module uses the now deprecated v3 of the Linode API. - C(LINODE_API_KEY) env variable can be used instead. - Please review U(https://www.linode.com/api/linode) for determining the required parameters. s® - name: Create a new Linode linode: name: linode-test1 plan: 1 datacenter: 7 distribution: 129 state: present register: linode_creation - name: Create a server with a private IP Address linode: module: linode api_key: 'longStringFromLinodeApi' name: linode-test1 plan: 1 datacenter: 2 distribution: 99 password: 'superSecureRootPassword' private_ip: yes ssh_pub_key: 'ssh-rsa qwerty' swap: 768 wait: yes wait_timeout: 600 state: present delegate_to: localhost register: linode_creation - name: Fully configure new server linode: api_key: 'longStringFromLinodeApi' name: linode-test1 plan: 4 datacenter: 2 distribution: 99 kernel_id: 138 password: 'superSecureRootPassword' private_ip: yes ssh_pub_key: 'ssh-rsa qwerty' swap: 768 wait: yes wait_timeout: 600 state: present alert_bwquota_enabled: True alert_bwquota_threshold: 80 alert_bwin_enabled: True alert_bwin_threshold: 10 alert_cpu_enabled: True alert_cpu_threshold: 210 alert_bwout_enabled: True alert_bwout_threshold: 10 alert_diskio_enabled: True alert_diskio_threshold: 10000 backupweeklyday: 1 backupwindow: 2 displaygroup: 'test' additional_disks: - {Label: 'disk1', Size: 2500, Type: 'raw'} - {Label: 'newdisk', Size: 2000} watchdog: True delegate_to: localhost register: linode_creation - name: Ensure a running server (create if missing) linode: api_key: 'longStringFromLinodeApi' name: linode-test1 plan: 1 datacenter: 2 distribution: 99 password: 'superSecureRootPassword' ssh_pub_key: 'ssh-rsa qwerty' swap: 768 wait: yes wait_timeout: 600 state: present delegate_to: localhost register: linode_creation - name: Delete a server linode: api_key: 'longStringFromLinodeApi' name: linode-test1 linode_id: "{{ linode_creation.instance.id }}" state: absent delegate_to: localhost - name: Stop a server linode: api_key: 'longStringFromLinodeApi' name: linode-test1 linode_id: "{{ linode_creation.instance.id }}" state: stopped delegate_to: localhost - name: Reboot a server linode: api_key: 'longStringFromLinodeApi' name: linode-test1 linode_id: "{{ linode_creation.instance.id }}" state: restarted delegate_to: localhost N(tapi(t AnsibleModuletmissing_required_libc`sóddl‰ddl‰ˆjƒdj‡‡fd†tdƒDƒƒ}dj‡‡fd†tdƒDƒƒ}dj‡‡fd†tdƒDƒƒ}dj‡‡fd†tdƒDƒƒ}||||}djˆj|t|ƒƒƒS( sL Generate a long random password that comply to Linode requirements iNtc3`s!|]}ˆjˆjƒVqdS(N(tchoicetascii_lowercase(t.0tx(trandomtstring(sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pys $sic3`s!|]}ˆjˆjƒVqdS(N(R tascii_uppercase(RR(RR(sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pys %sc3`s!|]}ˆjˆjƒVqdS(N(R tdigits(RR(RR(sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pys &sc3`s!|]}ˆjˆjƒVqdS(N(R t punctuation(RR(RR(sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pys 's(RRtseedtjointrangetsampletlen(tlowertuppertnumbertpuncttp((RRsG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pyt randompasss   ((((cC`sõi|dd6|dd6gd6gd6}xÄ|jd|dƒD]¬}|dr|d |kr||d |d <|d |d |'d7nst DatacenterIDtPlanIDt PaymentTermtLinodeIDtLabels%s-%stLPM_DISPLAYGROUPtWATCHDOGs%st ERRORMESSAGEitTOTALHDtDistributionIDtrootPasst rootSSHKeys%s data disk (lid: %s)R8tJobIDtTypetswaps%s swap disk (lid: %s)text4tDISTRIBUTIONIDt32tIS64BITt64R"s Latest %stKERNELIDtTYPEtext3tDISKIDi R t,tKernelIdtDisklists %s configR tSTATUSiiþÿÿÿisTimeout waiting on %s (lid: %s)s%s (lid: %s) failed to boottRunningRtStartingtpasswordtstoppeds'linode_id is required for stopped statesServer (lid: %s) not founditStoppingtStoppedt restarteds)linode_id is required for restarted statet Restartingtabsenttdeletedt skipCheckstDeletingtchangedR1t instances(R4R5R6(iþÿÿÿi(R^R_("tFalset linode_listtlinode_disk_listtlinode_config_listt fail_jsontTruetNonetsumt linode_createt linode_updatet Exceptiontvaluetlinode_ip_addprivateRt"linode_disk_createfromdistributionR/tlinode_disk_createtgettavail_distributionst avail_kernelst startswithtinserttstrRRtlinode_config_createt linode_bootttimetsleepR3tlinode_shutdownt linode_reboott linode_deletet exit_json((tmoduleRtstateR#t displaygrouptplantadditional_diskst distributiont datacentert kernel_idt linode_idt payment_termRXt private_ipt ssh_pub_keyRHtwaitt wait_timeouttwatchdogtkwargsRcRbt new_servertserverstdiskstconfigstjobstargtused_disk_spacetrestetsizeR9tdistribtarchtkerneltdisks_idt disks_listR0R1((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pyt linodeServersEsP !(   &&!            7&!   &  %       #     #   # c&EC`s!tdtdtddddddd d dd d d gƒdtdddtƒdtdddtƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒdtddƒd tddƒd!tdddd"ƒd#tddƒd$tdd%ƒd&tddƒd'tddƒd(tddƒd)tddd*d+gƒd,tdddd-dd-d.d/gƒd0tdddtƒd1tddƒd2tddƒd3tdddd4ƒd5tdddtƒd6tdddd7ƒd8tdddtƒƒƒ}tsw|jd9td:ƒd;tƒn|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ}|jjdƒ} |jjdƒ} |jjdƒ} |jjdƒ} |jjdƒ} |jjdƒ}|jjdƒ}|jjd ƒ}|jjd!ƒ}|jjd#ƒ}|jjd$ƒ}|jjd&ƒ}|jjd'ƒ}|jjd(ƒ}|jjd)ƒ}|jjd,ƒ}|jjd0ƒ}|jjd1ƒ}|jjd2ƒ}|jjd3ƒ}|jjd5ƒ}t |jjd6ƒƒ}t |jjd8ƒƒ}tƒ} td|d|d|d|d|d| d| d| d| d| d|d |ƒ }!x3|!j ƒD]%\}"}#|#dk r|#| |"|$jd?d@ƒnXt||%|||||||||||||||||| dS(ANt argument_specR‚ttypeRxtdefaultR5tchoicesR^R4R_R\R6RYtapi_keytno_logR#trequiredtalert_bwin_enabledtbooltalert_bwin_thresholdtinttalert_bwout_enabledtalert_bwout_thresholdtalert_bwquota_enabledtalert_bwquota_thresholdtalert_cpu_enabledtalert_cpu_thresholdtalert_diskio_enabledtalert_diskio_thresholdtbackupsenabledtbackupweeklydayt backupwindowRƒR R„R…tlistR†R‡RˆR‰taliasestlidRŠii iRXR‹RŒRHiRRŽi,RR7s linode-pythont exceptiontLINODE_API_KEYsUnable to load %ss%siRA(R tdictRit HAS_LINODERhR tLINODE_IMP_ERRtparamsRsR«titemsRjtostenvirontKeyErrortmessaget linode_apitApit test_echoRnRoR (&RR‚R¥R#R¨RªR¬R­R®R¯R°R±R²R³R´RµR¶RƒR„R…R†R‡RˆR‰RŠRXR‹RŒRHRRŽRRt check_itemstkeyRoR™R((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pytmain?sÆ$   #t__main__(t __future__RRRR¢t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESRÁR{t tracebackRjR¾tlinodeRRÅRiR½t ImportErrort format_excRdtansible.module_utils.basicR R RR3R RÊt__name__(((sG/usr/lib/python2.7/site-packages/ansible/modules/cloud/linode/linode.pyts.   “i          ú r