remove experimental warning from become/runas (#32604)

* updated docs/changelog accordingly
This commit is contained in:
Matt Davis 2017-11-06 15:37:45 -08:00 committed by GitHub
parent 8b3ca4c537
commit 8a24116dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View file

@ -585,8 +585,6 @@ 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.")
if not self.become_user:
raise AnsibleError(("The 'runas' become method requires a username "
"(specify with the '--become-user' CLI arg, the 'become_user' keyword, or the 'ansible_become_user' variable)"))