feat: sudoers module supports runas parameter with default of root (#4380)

* feat: sudoers module supports runas parameter with default of root

* fix: sudoers tests now pass

* chore: add changelog fragment for 4380

* fix: runas feature now a non-breaking change wh no def with no default

* fix: no trailing space in sudoers.py

* Update plugins/modules/system/sudoers.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
doubletwist13 2022-03-24 01:07:07 -05:00 committed by GitHub
commit 17fe813c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,4 @@
---
minor_changes:
- sudoers - add support for ``runas`` parameter
(https://github.com/ansible-collections/community.general/issues/4379).