??????????????
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ัddlmZmZmZeZdZdZddlZddl m Z ddl m Z ddl mZmZddlmZydd lmZWnek rณe d ƒ‚nXd eefd „ƒYZdS( i(tabsolute_importtdivisiontprint_functionsา name: hcloud plugin_type: inventory author: - Lukas Kaemmerling (@lkaemmerling) short_description: Ansible dynamic inventory plugin for the Hetzner Cloud. version_added: "2.8" requirements: - python >= 2.7 - hcloud-python >= 1.0.0 description: - Reads inventories from the Hetzner Cloud API. - Uses a YAML configuration file that ends with hcloud.(yml|yaml). extends_documentation_fragment: - constructed options: plugin: description: marks this as an instance of the "hcloud" plugin required: true choices: ["hcloud"] token: description: The Hetzner Cloud API Token. required: true env: - name: HCLOUD_TOKEN connect_with: description: Connect to the server using the value from this field. default: public_ipv4 type: str choices: - public_ipv4 - hostname - ipv4_dns_ptr locations: description: Populate inventory with instances in this location. default: [] type: list required: false types: description: Populate inventory with instances with this type. default: [] type: list required: false images: description: Populate inventory with instances with this image name, only available for system images. default: [] type: list required: false label_selector: description: Populate inventory with instances with this label. default: "" type: str required: false s # Minimal example. `HCLOUD_TOKEN` is exposed in environment. plugin: hcloud # Example with locations, types, groups and token plugin: hcloud token: foobar locations: - nbg1 types: - cx11 # Group by a location with prefix e.g. "hcloud_location_nbg1" # and image_os_flavor without prefix and separator e.g. "ubuntu" # and status with prefix e.g. "server_status_running" plugin: hcloud keyed_groups: - key: location prefix: hcloud_location - key: image_os_flavor separator: "" - key: status prefix: server_status N(t AnsibleError(t to_native(tBaseInventoryPlugint Constructable(t __version__(thcloudsBThe Hetzner Cloud dynamic inventory plugin requires hcloud-python.tInventoryModulecB`sPeZdZd„Zd„Zd„Zd„Zd„Zd„Ze d„Z RS(Rc C`sy|jdƒ|_|jdkr0tdƒ‚ntjdƒpBd|_tjd|jd|jdddt ƒ|_ dS( NttokensUPlease specify a token, via the option token or via environment variable HCLOUD_TOKENtHCLOUD_ENDPOINTshttps://api.hetzner.cloud/v1t api_endpointtapplication_namesansible-inventorytapplication_version( t get_optiont api_tokentNoneRtostgetenvtendpointRtClientRtclient(tself((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyt_configure_hcloud_clientgs  cC`s;y|jjjƒWn tjk r6tdƒ‚nXdS(Ns Invalid Hetzner Cloud API Token.(Rt locationstget_allRt APIExceptionR(R((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyt_test_hcloud_tokentscC`s[t|jdƒƒdkrB|jjjd|jdƒƒ|_n|jjjƒ|_dS(Ntlabel_selectori(tlenRRtserversR(R((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyt _get_servers|s'cC`s6|jdƒrcg}x?|jD]4}|jjj|jdƒkr|j|ƒqqW||_n|jdƒrรg}x<|jD]1}|jj|jdƒkr‚|j|ƒq‚q‚W||_n|jdƒr2g}xK|jD]@}|jdk rโ|jj |jdƒkrโ|j|ƒqโqโW||_ndS(NRttypestimages( RRt datacentertlocationtnametappendt server_typetimageRt os_flavor(Rttmptserver((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyt_filter_servers‚s$  *cC`sฤ|jj|jdt|jƒƒ|jj|jdt|jƒƒ|jj|jdt|jƒƒ|jj|jdt|jjƒƒ|jj|jdt|jjj ƒƒ|jj|jdt|jj j ƒƒ|jj|jdt|jj j ƒƒ|j dƒd krC|jj|jd t|jjj ƒƒnz|j dƒd kr}|jj|jd t|jƒƒn@|j dƒd krฝ|jj|jd t|jjjƒƒn|jj|jd t|jjƒƒ|jj|jdt|jjƒƒ|jj|jdt|jjjƒƒ|jj|jdt|jjƒƒ|jj|jdt|jjƒƒ|jj|jdt|jjƒƒ|jj|jdt|jƒƒdS(NtidR%tstatusttypetipv4t ipv6_networktipv6_network_maskt connect_witht public_ipv4t ansible_hostthostnamet ipv4_dns_ptrR'R#R$timage_idt image_nametimage_os_flavortlabels(t inventoryt set_variableR%RR-R.R't public_netR0tiptipv6tnetworkt network_maskRtdns_ptrR(R#R$R)tdictR;(RR+((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyt_set_server_attributes˜s("""%(((+%+%%(%%%cC`s9tt|ƒj|ƒo8|j|jd|jdfƒS(s>Return the possibly of a file being consumable by this plugin.s.yamls.yml(tsuperR t verify_filetendswithtNAME(Rtpath((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyRGนscC`s#tt|ƒj||||ƒ|j|ƒ|jƒ|jƒ|jƒ|jƒ|jj ddƒxต|j D]ช}|jj |j ddƒ|j |ƒ|jdƒ}|j|jdƒi|j d|ƒ|j|jdƒi|j d|ƒ|j|jdƒi|j d|ƒqqWdS(NtgroupRtstricttcomposetgroupst keyed_groups(RFR tparset_read_config_dataRRR R,R<t add_groupRtadd_hostR%RERt_set_composite_varst_add_host_to_composed_groupst_add_host_to_keyed_groups(RR<tloaderRJtcacheR+RL((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyRPภs      %%( t__name__t __module__RIRRR R,RERGtTrueRP(((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyR ds    ! (t __future__RRRR/t __metaclass__t DOCUMENTATIONtEXAMPLESRtansible.errorsRtansible.module_utils._textRtansible.plugins.inventoryRRtansible.releaseRRt ImportErrorR (((sD/usr/lib/python2.7/site-packages/ansible/plugins/inventory/hcloud.pyts7