From 5646b45a5bb7a48bc0163e24283b85e312dbf191 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 25 Oct 2024 16:07:55 +0800 Subject: [PATCH] vault backup: 2024-10-25 16:07:55 Affected files: docs/Command Snippets/Ansible Snippets.md --- docs/Command Snippets/Ansible Snippets.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Command Snippets/Ansible Snippets.md b/docs/Command Snippets/Ansible Snippets.md index 9f7b119..2a32016 100644 --- a/docs/Command Snippets/Ansible Snippets.md +++ b/docs/Command Snippets/Ansible Snippets.md @@ -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 ``` \ No newline at end of file