mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix leftover references to sudo instead of become
Catching a few places that earlier PR #10788 missed.
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