mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-16 19:59:25 +08:00
vault backup: 2024-10-28 22:03:06
Affected files: docs/Command Snippets/Ansible Snippets.md
This commit is contained in:
parent
d3c1c5cbcb
commit
06f212838e
1 changed files with 2 additions and 2 deletions
|
@ -36,5 +36,5 @@ 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
|
||||
```
|
||||
ansible-playbook playbook.yml -u root -k
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue