---
+- name: Create config dir
+ file:
+ path: $XDG_CONFIG_HOME/bash
+ state: directory
- name: Add bashrc config
template:
src: bashrc.j2
- dest: $HOME/.bashrc
+ dest: $XDG_CONFIG_HOME/bash/bashrc
- name: Add bash_profile config
template:
src: bash_profile.j2
- dest: $HOME/.bash_profile
+ dest: $XDG_CONFIG_HOME/bash/bash_profile
+- name: Add inputrc config
+ copy:
+ src: inputrc
+ dest: $XDG_CONFIG_HOME/inputrc
- name: Create bash state dir
file:
path: $XDG_STATE_HOME/bash