vault backup: 2024-10-28 22:02:58

Affected files:
docs/Command Snippets/Ansible Snippets.md
This commit is contained in:
Keannu Bernasol 2024-10-28 22:02:58 +08:00
parent 69bffa4901
commit d3c1c5cbcb

View file

@ -33,4 +33,8 @@ 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
```
- Specify `username` and `password` credentials when running a playbook
```bash
ansible-playbook roles/tasks/debian/setup.yml -u root -k
```