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
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: Create directories for configuration
|
||||
shell: mkdir ~/.ghc
|
||||
file:
|
||||
path: ~/.ghc
|
||||
state: directory
|
||||
|
||||
- name: Install ghci.conf
|
||||
template:
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- name: Create init.vim
|
||||
block:
|
||||
- shell: mkdir -p ~/.config/nvim
|
||||
- file:
|
||||
path: ~/.config/nvim
|
||||
state: directory
|
||||
- template:
|
||||
src: templates/init.vim.j2
|
||||
dest: ~/.config/nvim/init.vim
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: Create .tmux
|
||||
shell: mkdir -p ~/.tmux
|
||||
file:
|
||||
path: ~/.tmux
|
||||
state: directory
|
||||
|
||||
- name: Clone tpm
|
||||
git:
|
||||
|
|
|
@ -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…
Reference in a new issue