X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=roles%2Fshell%2Fbash%2Ftasks%2Fmain.yml;h=6bf38592abb709704e8e6295e705da16b352aeeb;hb=853c14457ef51fbca58f9c4fb5c1a255e68d7c87;hp=d74421aa11543fb83bea483d655fa76b630496cc;hpb=1a48017dde54325c5619f45f925478e7c3143ba8;p=perso%2FImmae%2FConfig%2FAnsible.git 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 @@ --- +- 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