From 73cdf2ffec96e55d10d6110d9d4a17ef1fd85024 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 25 Oct 2024 16:11:48 +0800 Subject: [PATCH] vault backup: 2024-10-25 16:11:48 Affected files: docs/Command Snippets/Ansible Snippets.md --- docs/Command Snippets/Ansible Snippets.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Command Snippets/Ansible Snippets.md b/docs/Command Snippets/Ansible Snippets.md index 2a32016..64beddd 100644 --- a/docs/Command Snippets/Ansible Snippets.md +++ b/docs/Command Snippets/Ansible Snippets.md @@ -21,4 +21,8 @@ ansible all -m apt -a update_cache=true # This will succeed # Equivalent to sudo apt-update ansible all -m apt -a update_cache=true --become --ask-become-me-pass +``` +Install packages +```bash +ansible all -m apt -a name=vim --become --ask-become-pass ``` \ No newline at end of file