mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
adds privilege escalation method for pmrun(Unix Privilege Manager 6.0)
This commit is contained in:
parent
f9b836a901
commit
04073dfa9b
4 changed files with 14 additions and 6 deletions
|
@ -119,7 +119,7 @@ def check_command(commandline):
|
|||
'mount': 'mount', 'rpm': 'yum, dnf or zypper', 'yum': 'yum', 'apt-get': 'apt',
|
||||
'tar': 'unarchive', 'unzip': 'unarchive', 'sed': 'template or lineinfile',
|
||||
'dnf': 'dnf', 'zypper': 'zypper' }
|
||||
become = [ 'sudo', 'su', 'pbrun', 'pfexec', 'runas' ]
|
||||
become = [ 'sudo', 'su', 'pbrun', 'pfexec', 'runas', 'pmrun' ]
|
||||
warnings = list()
|
||||
command = os.path.basename(commandline.split()[0])
|
||||
if command in arguments:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue