Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #2031/ff9f9879 backport][stable-2] ipa_sudorule add support for setting runasextusers #2068

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Mar 21, 2021

This is a backport of PR #2031 as merged into main (ff9f987).

SUMMARY
ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ipa_sudorule.py

ADDITIONAL INFORMATION

While moving from bash script to ansible the lack of being able to set sudorule runasuser came up. This pull request is meant to fix that.

This code allow using ipa_sudorule module to do same as the code below.

ipa sudorule-add-runasuser $SUDONAME --users=root

* Add support for setting runasextusers

* fix formatting

* add changelog fragment

* Update plugins/modules/identity/ipa/ipa_sudorule.py

Co-authored-by: Felix Fontein <[email protected]>

* Update changelogs/fragments/2031-ipa_sudorule_add_runasextusers.yml

Co-authored-by: Felix Fontein <[email protected]>

Co-authored-by: quasd <[email protected]>
Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit ff9f987)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added affects_2.10 community_review feature This issue/PR relates to a feature request identity module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) labels Mar 21, 2021
@felixfontein felixfontein merged commit ca81a5c into stable-2 Mar 21, 2021
@felixfontein felixfontein deleted the patchback/backports/stable-2/ff9f98795e1ec7fc5579e31135107239420dac3d/pr-2031 branch March 21, 2021 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_review feature This issue/PR relates to a feature request identity module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants