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
|
- name: Create directories for configuration
|
||||||
shell: mkdir ~/.ghc
|
file:
|
||||||
|
path: ~/.ghc
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Install ghci.conf
|
- name: Install ghci.conf
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: Create init.vim
|
- name: Create init.vim
|
||||||
block:
|
block:
|
||||||
- shell: mkdir -p ~/.config/nvim
|
- file:
|
||||||
|
path: ~/.config/nvim
|
||||||
|
state: directory
|
||||||
- template:
|
- template:
|
||||||
src: templates/init.vim.j2
|
src: templates/init.vim.j2
|
||||||
dest: ~/.config/nvim/init.vim
|
dest: ~/.config/nvim/init.vim
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: Create .tmux
|
- name: Create .tmux
|
||||||
shell: mkdir -p ~/.tmux
|
file:
|
||||||
|
path: ~/.tmux
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Clone tpm
|
- name: Clone tpm
|
||||||
git:
|
git:
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
---
|
---
|
||||||
- name: Create directories for VSCode
|
- name: Create directories for VSCode
|
||||||
block:
|
file:
|
||||||
- shell: mkdir -p ~/.local/bin
|
path: {{ item }}
|
||||||
- shell: mkdir -p ~/.local/share
|
state: directory
|
||||||
- shell: mkdir -p "$HOME/.config/Code - Insiders/User"
|
loop:
|
||||||
|
- ~/.local/bin
|
||||||
|
- ~/.local/share
|
||||||
|
- "$HOME/.config/Code - Insiders/User"
|
||||||
|
|
||||||
- name: Install VSCode script
|
- name: Install VSCode script
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue