ansible / ansible.builtin / v2.9.18 / become / pbrun PowerBroker run | "added in version" 2.8 of ansible.builtin" Authors: ansible (@core)ansible.builtin.pbrun (v2.9.18) — become
pip
Install with pip install ansible==2.9.18
This become plugins allows your remote/login user to execute commands as another user via the pbrun utility.
wrap_exe: default: false description: Toggle to wrap the command pbrun calls in 'shell -c' or not env: - name: ANSIBLE_PBRUN_WRAP_EXECUTION ini: - key: wrap_execution section: pbrun_become_plugin type: bool vars: - name: ansible_pbrun_wrap_execution become_exe: default: pbrun description: Sudo executable env: - name: ANSIBLE_BECOME_EXE - name: ANSIBLE_PBRUN_EXE ini: - key: become_exe section: privilege_escalation - key: executable section: pbrun_become_plugin vars: - name: ansible_become_exe - name: ansible_pbrun_exe become_pass: description: Password for pbrun env: - name: ANSIBLE_BECOME_PASS - name: ANSIBLE_PBRUN_PASS ini: - key: password section: pbrun_become_plugin required: false vars: - name: ansible_become_password - name: ansible_become_pass - name: ansible_pbrun_pass become_user: default: '' description: User you 'become' to execute the task env: - name: ANSIBLE_BECOME_USER - name: ANSIBLE_PBRUN_USER ini: - key: become_user section: privilege_escalation - key: user section: pbrun_become_plugin vars: - name: ansible_become_user - name: ansible_pbrun_user become_flags: description: Options to pass to pbrun env: - name: ANSIBLE_BECOME_FLAGS - name: ANSIBLE_PBRUN_FLAGS ini: - key: become_flags section: privilege_escalation - key: flags section: pbrun_become_plugin vars: - name: ansible_become_flags - name: ansible_pbrun_flags