diff options
Diffstat (limited to 'roles/shell/bash/tasks/main.yml')
-rw-r--r-- | roles/shell/bash/tasks/main.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/roles/shell/bash/tasks/main.yml b/roles/shell/bash/tasks/main.yml index d74421a..6bf3859 100644 --- a/roles/shell/bash/tasks/main.yml +++ b/roles/shell/bash/tasks/main.yml | |||
@@ -1,12 +1,20 @@ | |||
1 | --- | 1 | --- |
2 | - name: Create config dir | ||
3 | file: | ||
4 | path: $XDG_CONFIG_HOME/bash | ||
5 | state: directory | ||
2 | - name: Add bashrc config | 6 | - name: Add bashrc config |
3 | template: | 7 | template: |
4 | src: bashrc.j2 | 8 | src: bashrc.j2 |
5 | dest: $HOME/.bashrc | 9 | dest: $XDG_CONFIG_HOME/bash/bashrc |
6 | - name: Add bash_profile config | 10 | - name: Add bash_profile config |
7 | template: | 11 | template: |
8 | src: bash_profile.j2 | 12 | src: bash_profile.j2 |
9 | dest: $HOME/.bash_profile | 13 | dest: $XDG_CONFIG_HOME/bash/bash_profile |
14 | - name: Add inputrc config | ||
15 | copy: | ||
16 | src: inputrc | ||
17 | dest: $XDG_CONFIG_HOME/inputrc | ||
10 | - name: Create bash state dir | 18 | - name: Create bash state dir |
11 | file: | 19 | file: |
12 | path: $XDG_STATE_HOME/bash | 20 | path: $XDG_STATE_HOME/bash |