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