mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user