??????????????
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 „Zedkr—eƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatustcoret supported_bys/ --- module: getent short_description: A wrapper to the unix getent utility description: - Runs getent against one of it's various databases and returns information into the host's facts, in a getent_ prefixed variable. version_added: "1.8" options: database: description: - The name of a getent database supported by the target system (passwd, group, hosts, etc). required: True key: description: - Key from which to return values from the specified database, otherwise the full contents are returned. default: '' service: description: - Override all databases with the specified service - The underlying system must support the service flag which is not always available. version_added: "2.9" split: description: - "Character used to split the database values into lists/arrays such as ':' or ' ', otherwise it will try to pick one depending on the database." fail_key: description: - If a supplied key is missing this will make the task fail if C(yes). type: bool default: 'yes' notes: - Not all databases support enumeration, check system documentation for details. author: - Brian Coca (@bcoca) s@ # get root user info - getent: database: passwd key: root - debug: var: getent_passwd # get all groups - getent: database: group split: ':' - debug: var: getent_group # get all hosts, split by tab - getent: database: hosts - debug: var: getent_hosts # get http service info, no error if missing - getent: database: services key: http fail_key: False - debug: var: getent_services # get user password hash (requires sudo/root) - getent: database: shadow key: www-data split: ':' - debug: var: getent_shadow N(t AnsibleModule(t to_nativecC`s¡tdtdtdddtƒdtddƒdtddƒdtddƒd tdd d tƒƒd tƒ}d dddg}|jd}|jjdƒ}|jjdƒ}|jjdƒ}|jjd ƒ}|jdtƒ}|dk r|||g}n ||g}|dk r4|jd|gƒn|dkrU||krUd}ny|j|ƒ\} } } Wn5t k r¨} |j dt | ƒdt j ƒƒnXd} d|}ii|6}| dkr!x9| jƒD]+}|j|ƒ}|d|||ds   ''  >