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:
Matt Davis
2017-04-03 13:46:51 -07:00
committed by GitHub
parent 2d8c5e6b8f
commit d85f4a443f
3 changed files with 5 additions and 4 deletions

View File

@@ -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':