mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #14512 from scottsb/patch-1
Fix leftover references to sudo instead of become
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user