mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-08 07:04:23 -07:00
[PR #5703/77fde030 backport][stable-6] Add support for host restriction in sudoers module (#5716)
Add support for host restriction in sudoers module (#5703)
* Add support to restrict privileges by host
* Missing comma
* Making linter happy.
* Add version 6.2.0 as when sudoers host parameter added
Co-authored-by: Felix Fontein <felix@fontein.de>
* Changelog fragment for PR #5703
* Test for sudoers host-based restriction
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 77fde030cd
)
Co-authored-by: Laurence <laurence+github@entek.org.uk>
This commit is contained in:
parent
02e6a8608f
commit
bc50b48205
3 changed files with 36 additions and 2 deletions
2
changelogs/fragments/5703-sudoers-host-support.yml
Normal file
2
changelogs/fragments/5703-sudoers-host-support.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- sudoers - adds ``host`` parameter for setting hostname restrictions in sudoers rules (https://github.com/ansible-collections/community.general/issues/5702).
|
Loading…
Add table
Add a link
Reference in a new issue