vault backup: 2024-10-25 16:07:45

Affected files:
docs/Command Snippets/Ansible Snippets.md
This commit is contained in:
Keannu Bernasol 2024-10-25 16:07:45 +08:00
parent 7284b10711
commit a435898101

View file

@ -13,3 +13,11 @@ ansible all -m gather_facts
# Limit to one device
ansible all -m gather_facts --limit ADDRESS
```
Elevate command to root user
```bash
# This will fail without sudo
ansible all -m apt -a update_cache=true
# This will succeed
ansible all -m apt -a update_cache=true
```