mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-16 19:59:25 +08:00
vault backup: 2024-10-25 16:07:55
Affected files: docs/Command Snippets/Ansible Snippets.md
This commit is contained in:
parent
a435898101
commit
5646b45a5b
1 changed files with 2 additions and 1 deletions
|
@ -19,5 +19,6 @@ Elevate command to root user
|
|||
ansible all -m apt -a update_cache=true
|
||||
|
||||
# This will succeed
|
||||
ansible all -m apt -a update_cache=true
|
||||
# Equivalent to sudo apt-update
|
||||
ansible all -m apt -a update_cache=true --become --ask-become-me-pass
|
||||
```
|
Loading…
Reference in a new issue