Switch mkdir
from shell to file/directory
Closes #21 Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
f1e4bc4898
commit
0b7969ad00
4 changed files with 16 additions and 7 deletions
playbooks/roles/vscode/tasks
|
@ -1,9 +1,12 @@
|
|||
---
|
||||
- name: Create directories for VSCode
|
||||
block:
|
||||
- shell: mkdir -p ~/.local/bin
|
||||
- shell: mkdir -p ~/.local/share
|
||||
- shell: mkdir -p "$HOME/.config/Code - Insiders/User"
|
||||
file:
|
||||
path: {{ item }}
|
||||
state: directory
|
||||
loop:
|
||||
- ~/.local/bin
|
||||
- ~/.local/share
|
||||
- "$HOME/.config/Code - Insiders/User"
|
||||
|
||||
- name: Install VSCode script
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue