From 71ede7ecbf7d4661025ce26d12a69c309b5c42e4 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 25 Oct 2024 16:30:38 +0800 Subject: [PATCH] vault backup: 2024-10-25 16:30:38 Affected files: docs/Command Snippets/Ansible Snippets.md --- docs/Command Snippets/Ansible Snippets.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/Command Snippets/Ansible Snippets.md b/docs/Command Snippets/Ansible Snippets.md index 7cbdc79..e47f2bb 100644 --- a/docs/Command Snippets/Ansible Snippets.md +++ b/docs/Command Snippets/Ansible Snippets.md @@ -27,8 +27,10 @@ Install packages ansible all -m apt -a name=vim --become --ask-become-pass ``` Install/Update Package (multiple arguments) -``` -Install packages ```bash ansible all -m apt -a "name=vim state=latest" --become --ask-become-pass +``` +`sudo apt update` equivalent +```bash +ansible all -m apt -a "name=apt state=latest" --become --ask-become-pass ``` \ No newline at end of file