mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
mark runas become method experimental (#23235)
Due to the number of "real world" caveats in the current runas become method, it was agreed that we'd warn that it's experimental on use. A potential future version based on LogonUser/CreateProcessAsUser will have very different requirements and limitations.
This commit is contained in:
@@ -552,6 +552,7 @@ class PlayContext(Base):
|
||||
|
||||
elif self.become_method == 'runas':
|
||||
# become is handled inside the WinRM connection plugin
|
||||
display.warning("The Windows 'runas' become method is experimental, and may change significantly in future Ansible releases.")
|
||||
becomecmd = cmd
|
||||
|
||||
elif self.become_method == 'doas':
|
||||
|
||||
Reference in New Issue
Block a user