Compare commits

...

12 commits

Author SHA1 Message Date
71ede7ecbf vault backup: 2024-10-25 16:30:38
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:30:38 +08:00
d3f8b83a89 vault backup: 2024-10-25 16:22:30
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:22:30 +08:00
1853d06b01 vault backup: 2024-10-25 16:21:38
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:21:38 +08:00
31a2b852d6 vault backup: 2024-10-25 16:17:42
Affected files:
docs/Files & Links/Extensions.md
docs/Files & Links/_resources/Extensions/cae5cacf2eacf3bbea0cdafe628b8c55_MD5.gif
2024-10-25 16:17:42 +08:00
a2db48c969 vault backup: 2024-10-25 16:15:48
Affected files:
docs/Files & Links/Extensions.md
2024-10-25 16:15:48 +08:00
b584a51ba7 vault backup: 2024-10-25 16:14:48
Affected files:
docs/Files & Links/Extensions.md
2024-10-25 16:14:48 +08:00
73cdf2ffec vault backup: 2024-10-25 16:11:48
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:11:48 +08:00
5646b45a5b vault backup: 2024-10-25 16:07:55
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:07:55 +08:00
a435898101 vault backup: 2024-10-25 16:07:45
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 16:07:45 +08:00
7284b10711 vault backup: 2024-10-25 15:57:44
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 15:57:44 +08:00
b829aac16c vault backup: 2024-10-25 15:56:43
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 15:56:43 +08:00
76d65849ec vault backup: 2024-10-25 15:54:40
Affected files:
docs/Command Snippets/Ansible Snippets.md
2024-10-25 15:54:40 +08:00
3 changed files with 44 additions and 6 deletions

View file

@ -0,0 +1,36 @@
WSL Fix for world-writable directories
```bash
export ANSIBLE_CONFIG=./ansible.cfg
```
Ping
```bash
ansible all -m ping
```
Gather facts
```bash
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
# Equivalent to sudo apt-update
ansible all -m apt -a update_cache=true --become --ask-become-me-pass
```
Install packages
```bash
ansible all -m apt -a name=vim --become --ask-become-pass
```
Install/Update Package (multiple arguments)
```bash
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
```

View file

@ -1,10 +1,12 @@
### Browser Extensions
- [https://github.com/Dj0ulo/OptiSearch](https://github.com/Dj0ulo/OptiSearch)
### VSCode
- Custom VSCode Theme
- https://marketplace.visualstudio.com/items?itemName=leandro-rodrigues.fluent-ui-vscode
- [https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued](https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued)
- Terminal tab may be broken. You can fix it by following this below
[https://github.com/TheOld/vscode-fluent-ui/issues/53](https://github.com/TheOld/vscode-fluent-ui/issues/53)
- Edit `workbench.html` file at `Microsoft VS Code\resources\app\out\vs\code\electron-sandbox\workbench`
#### Custom VSCode Theme
- [Fluent-UI-VSCode](https://marketplace.visualstudio.com/items?itemName=leandro-rodrigues.fluent-ui-vscode)
- [VSCode Vibrancy Continued](https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued)
- Terminal tab may be broken. You can fix it by following the GitHub issue [here](https://github.com/TheOld/vscode-fluent-ui/issues/53)
Edit `workbench.html` file at `Microsoft VS Code\resources\app\out\vs\code\electron-sandbox\workbench`
#### [JSON Crack](https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode)
![](_resources/Extensions/cae5cacf2eacf3bbea0cdafe628b8c55_MD5.gif)

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 KiB