mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-17 04:09:26 +08:00
vault backup: 2024-10-28 22:02:58
Affected files: docs/Command Snippets/Ansible Snippets.md
This commit is contained in:
parent
69bffa4901
commit
d3c1c5cbcb
1 changed files with 4 additions and 0 deletions
|
@ -34,3 +34,7 @@ ansible all -m apt -a "name=vim state=latest" --become --ask-become-pass
|
|||
```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
|
||||
```
|
Loading…
Reference in a new issue