Adding a note in the documentation regarding user->remote_user change
This commit is contained in:
parent
aac3090909
commit
25c102d4d8
1 changed files with 4 additions and 1 deletions
|
@ -78,12 +78,15 @@ to target and what remote user to complete the steps (called tasks) as.
|
||||||
|
|
||||||
The `hosts` line is a list of one or more groups or host patterns,
|
The `hosts` line is a list of one or more groups or host patterns,
|
||||||
separated by colons, as described in the :ref:`patterns`
|
separated by colons, as described in the :ref:`patterns`
|
||||||
documentation. The `user` is just the name of the user account::
|
documentation. The `remote_user` is just the name of the user account::
|
||||||
|
|
||||||
---
|
---
|
||||||
- hosts: webservers
|
- hosts: webservers
|
||||||
remote_user: root
|
remote_user: root
|
||||||
|
|
||||||
|
.. Note::
|
||||||
|
|
||||||
|
The `remote_user` parameter was formerly called just `user`. It was renamed in Ansible 1.4 to make it more distinguishable from the `user` module (used to create users on remote systems).
|
||||||
|
|
||||||
Support for running things from sudo is also available::
|
Support for running things from sudo is also available::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue