added password prompt support for machinectl (#4849) (#4941)

* added password prompt support for machinectl

* include review comments

This includes the review comments as well as changelog fragment. This also gives more information about the polkit rule.

* fix yaml doc with leftover bracket

* include review comments 2

* move regex compile to global scope

(cherry picked from commit 35ddf31b5f)

Co-authored-by: Louis Seubert <louis.seubert.ls@gmail.com>
This commit is contained in:
patchback[bot]
2022-07-11 22:08:53 +02:00
committed by GitHub
parent 224567e604
commit 6058a5e5b1
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- machinectl become plugin - can now be used with a password from another user than root, if a polkit rule is present (https://github.com/ansible-collections/community.general/pull/4849).