summaryrefslogtreecommitdiff
path: root/roles/shell/bash/tasks/main.yml
blob: 6bf38592abb709704e8e6295e705da16b352aeeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
- name: Create config dir
  file:
    path: $XDG_CONFIG_HOME/bash
    state: directory
- name: Add bashrc config
  template:
    src: bashrc.j2
    dest: $XDG_CONFIG_HOME/bash/bashrc
- name: Add bash_profile config
  template:
    src: bash_profile.j2
    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
    state: directory
- name: Create less state dir
  file:
    path: $XDG_STATE_HOME/less
    state: directory