mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-17 04:09:26 +08:00
Compare commits
No commits in common. "06f212838e32a6a11ace4616ee8265907695ad71" and "f359c7ae0e83a93a7f0aa063f93ecac995f2ce7a" have entirely different histories.
06f212838e
...
f359c7ae0e
2 changed files with 1 additions and 9 deletions
|
@ -33,8 +33,4 @@ 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 playbook.yml -u root -k
|
||||
```
|
||||
```
|
|
@ -20,7 +20,3 @@ borg extract --strip-components 3 /mnt/backups/$DEVICE/$BACKUP_NAME::$SNAPSHOT_N
|
|||
# Extract latest snapshot
|
||||
borg extract --strip-components 3 /mnt/backups/$DEVICE/$BACKUP_NAME::$(borg list /mnt/backups/$BACKUP_NAME --last 1 --short)
|
||||
```
|
||||
- Set date/time
|
||||
```bash
|
||||
sudo date --set="2024-10-02 01:12:00"
|
||||
```
|
Loading…
Reference in a new issue