mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix leftover references to sudo instead of become
Catching a few places that earlier PR #10788 missed.
This commit is contained in:
parent
875ea74621
commit
71dffbc28f
1 changed files with 2 additions and 2 deletions
|
@ -180,9 +180,9 @@ Support for running things as another user is also available (see :doc:`become`)
|
||||||
---
|
---
|
||||||
- hosts: webservers
|
- hosts: webservers
|
||||||
remote_user: yourname
|
remote_user: yourname
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
||||||
You can also use sudo on a particular task instead of the whole play::
|
You can also use become on a particular task instead of the whole play::
|
||||||
|
|
||||||
---
|
---
|
||||||
- hosts: webservers
|
- hosts: webservers
|
||||||
|
|
Loading…
Reference in a new issue