??????????????
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 Zd Z dd l Z dd l Z dd l Z dd l Z d Zydd lZeZWn#ek rΓe jƒZeZnXdd lmZmZdd lmZd„Zd„Zd„Zd„Zd„Zd„Z e!dkr6e ƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatustcoret supported_bys! --- module: selinux short_description: Change policy and state of SELinux description: - Configures the SELinux mode and policy. - A reboot may be required after usage. - Ansible will not issue this reboot but will let you know when it is required. version_added: "0.7" options: policy: description: - The name of the SELinux policy to use (e.g. C(targeted)) will be required if state is not C(disabled). state: description: - The SELinux mode. required: true choices: [ disabled, enforcing, permissive ] configfile: description: - The path to the SELinux configuration file, if non-standard. default: /etc/selinux/config aliases: [ conf, file ] requirements: [ libselinux-python ] author: - Derek Carter (@goozbach) s  - name: Enable SELinux selinux: policy: targeted state: enforcing - name: Put SELinux in permissive mode, logging actions that would be blocked. selinux: policy: targeted state: permissive - name: Disable SELinux selinux: state: disabled sž msg: description: Messages that describe changes that were made. returned: always type: str sample: Config SELinux state changed from 'disabled' to 'permissive' configfile: description: Path to SELinux configuration file. returned: always type: str sample: /etc/selinux/config policy: description: Name of the SELinux policy. returned: always type: str sample: targeted state: description: SELinux mode. returned: always type: str sample: enforcing reboot_required: description: Whether or not an reboot is required for the changes to take effect. returned: always type: bool sample: true N(t AnsibleModuletmissing_required_lib(tget_file_linescC`sVt|dtƒ}x=|D]5}tjd|ƒ}|r|jdƒdjƒSqWdS(Ntstrips ^SELINUX=.*$t=i(R tFalsetretmatchtsplitR (t configfiletlinestlinet stateline((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pytget_config_statejs  cC`sVt|dtƒ}x=|D]5}tjd|ƒ}|r|jdƒdjƒSqWdS(NR s^SELINUXTYPE=.*$R i(R R RRRR (RRRR((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pytget_config_policyss  c C`s‹d|}t|dtƒ}tjƒ\}}t|dƒ8}x.|D]&}|jtjd||ƒdƒqGWWdQX|j||ƒdS(Ns SELINUX=%sR tws ^SELINUX=.*s ( R R ttempfiletmkstemptopentwriteRtsubt atomic_move( tmoduletstateRRRttmpfdttmpfilet write_fileR((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pytset_config_state}s  *cC`se|dkrtjdƒnE|dkr8tjdƒn)|dkrGnd|}|jd|ƒdS(Nt enforcingit permissiveitdisableds&trying to set invalid runtime state %stmsg(tselinuxtsecurity_setenforcet fail_json(RRR'((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pyt set_stateŒs    c C`sΈtjjd|ƒs-|jdd|ƒnd|}t|dtƒ}tjƒ\}}t|dƒ8}x.|D]&}|j t j d||ƒdƒqtWWdQX|j ||ƒdS( Ns/etc/selinux/%s/policyR's)Policy %s does not exist in /etc/selinux/sSELINUXTYPE=%sR Rs^SELINUXTYPE=.*s ( tostpathtexistsR*R R RRRRRRR( RtpolicyRt policylineRR R!R"R((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pytset_config_policy˜s  *c C`stdtdtddƒdtdddddd d d gƒd tddd ddddgƒƒdtƒ}ts‘|jdtdƒdtƒnt}g}|jd }|jd}|jd}t j ƒ}t j ƒd}d }t} |rt j ƒrd }qd }nt jj|ƒsD|jddj|ƒddƒnt|ƒ} t|ƒ} |d kr„|s“|jddƒq“n|s“| }n||krΫ|jr»|jdtƒn|jd||fƒt}n|| kr6|jr|jdtƒnt|||ƒ|jd|| |fƒt}n||krό|rβ|d kr©|d kr“|jsyt|d ƒn|jd|ƒt}n |jdƒt} qω|jsΒt||ƒn|jd ||fƒt}qό|jd!|ƒt} n|| krD|js$t|||ƒn|jd"| |fƒt}n|jd|dd#j|ƒd |d|d|d$| ƒdS(%Nt argument_specR/ttypetstrRtrequiredtTruetchoicesR$R%R&Rtdefaults/etc/selinux/configtaliasestconftfiletsupports_check_modeR'slibselinux-pythont exceptionisUnable to find file {0}tdetailssSPlease install SELinux-policy package, if this package is not installed previously.s-Policy is required if state is not 'disabled'tchangeds0Running SELinux policy changed from '%s' to '%s's>SELinux policy configuration in '%s' changed from '%s' to '%s'sgSELinux state temporarily changed from '%s' to 'permissive'. State change will take effect next reboot.s1SELinux state change will take effect next reboots'SELinux state changed from '%s' to '%s's/Reboot is required to set SELinux state to '%s's.Config SELinux state changed from '%s' to '%s's, treboot_required(RtdictR6t HAS_SELINUXR*R tSELINUX_IMP_ERRR tparamsR(tis_selinux_enabledtselinux_getpolicytypetsecurity_getenforceR,R-tisfiletformatRRt check_modet exit_jsontappendR1R+twarnR#tjoin( RR?tmsgsRR/Rtruntime_enabledtruntime_policyt runtime_stateR@t config_policyt config_state((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pytmainͺs€$$                                t__main__("t __future__RRRR3t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNR,RRt tracebacktNoneRCR(R6RBt ImportErrort format_excR tansible.module_utils.basicRR t ansible.module_utils.facts.utilsR RRR#R+R1RUt__name__(((sB/usr/lib/python2.7/site-packages/ansible/modules/system/selinux.pyts:              _