??????????????
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 m Z dd l m Z d „Zd„Zd„Zd„Zed„Zd„ZedkrΗeƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatust communityt supported_bysN --- module: xattr version_added: "1.3" short_description: Manage user defined extended attributes description: - Manages filesystem user defined extended attributes. - Requires that extended attributes are enabled on the target filesystem and that the setfattr/getfattr utilities are present. options: path: description: - The full path of the file/object to get the facts of. - Before 2.3 this option was only usable as I(name). type: path required: true aliases: [ name ] namespace: description: - Namespace of the named name/key. type: str default: user version_added: "2.7" key: description: - The name of a specific Extended attribute key to set/retrieve. type: str value: description: - The value to set the named name/key to, it automatically sets the C(state) to 'set'. type: str state: description: - defines which state you want to do. C(read) retrieves the current value for a C(key) (default) C(present) sets C(name) to C(value), default if value is set C(all) dumps all data C(keys) retrieves all keys C(absent) deletes the key type: str choices: [ absent, all, keys, present, read ] default: read follow: description: - If C(yes), dereferences symlinks and sets/gets attributes on symlink target, otherwise acts on symlink itself. type: bool default: yes notes: - As of Ansible 2.3, the I(name) option has been changed to I(path) as default, but I(name) still works as well. author: - Brian Coca (@bcoca) s· - name: Obtain the extended attributes of /etc/foo.conf xattr: path: /etc/foo.conf - name: Set the key 'user.foo' to value 'bar' xattr: path: /etc/foo.conf key: foo value: bar - name: Set the key 'trusted.glusterfs.volume-id' to value '0x817b94343f164f199e5b573b4ea1f914' xattr: path: /mnt/bricks/brick1 namespace: trusted key: glusterfs.volume-id value: "0x817b94343f164f199e5b573b4ea1f914" - name: Remove the key 'user.foo' xattr: path: /etc/foo.conf key: foo state: absent - name: Remove the key 'trusted.glusterfs.volume-id' xattr: path: /mnt/bricks/brick1 namespace: trusted key: glusterfs.volume-id state: absent N(t AnsibleModule(t to_nativecC`sR|jdtƒg}|jdƒ|s8|jdƒn|j|ƒt||ƒS(Ntgetfattrs--absolute-namess-h(t get_bin_pathtTruetappendt _run_xattr(tmoduletpathtfollowtcmd((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pytget_xattr_keysjs   cC`s‚|jdtƒg}|jdƒ|s8|jdƒn|dkrT|jdƒn|jd|ƒ|j|ƒt||tƒS(NR s--absolute-namess-hs-ds-n %s(R R R tNoneRtFalse(RRtkeyRR((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pyt get_xattrus   cC`sg|jdtƒg}|s+|jdƒn|jd|ƒ|jd|ƒ|j|ƒt||ƒS(Ntsetfattrs-hs-n %ss-v %s(R R R R(RRRtvalueRR((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pyt set_xattr…s cC`sY|jdtƒg}|s+|jdƒn|jd|ƒ|j|ƒt||tƒS(NRs-hs-x %s(R R R RR(RRRRR((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pytrm_xattr‘s  c C`sΫy+|jdj|ƒd|ƒ\}}}Wn-tk rZ}|jddt|ƒƒnXi}xs|jƒD]e}|jdƒsΣ|dkr’qnd|krΙ|jdƒ\} } | jdƒ|| RA(RtdictR tparamstgettosRtexistsR&RRtlenR(Rt check_modeRRRt exit_json( RRR7RRR;RRDRtrestcurrent((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pytmain°sh*   (           t__main__(t __future__RRRR3t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESRItansible.module_utils.basicRtansible.module_utils._textR RRRRR RRPt__name__(((s?/usr/lib/python2.7/site-packages/ansible/modules/files/xattr.pyts"   6     B