blob: 17615bd280ba94e6890a59e05a97ba2847dee997 (
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
26
27
28
29
30
|
- name: Copy bash_profile to home directory
ansible.builtin.copy:
src: misc/dotfiles/bash_profile
dest: '{{ bashrc_homedir }}/.bash_profile'
owner: '{{ bashrc_user }}'
group: '{{ bashrc_group }}'
mode: u+rw,g+r,o+r
tags:
- dotfiles
- name: Template bashrc to home directory
ansible.builtin.template:
src: misc/dotfiles/bashrc.j2
dest: '{{ bashrc_homedir }}/.bashrc'
owner: '{{ bashrc_user }}'
group: '{{ bashrc_group }}'
mode: u+rw,g+r,o+r
tags:
- dotfiles
- name: Disable session save/restore mechanism
ansible.builtin.file:
path: '{{ bashrc_homedir }}/.bash_sessions_disable'
state: touch
owner: '{{ bashrc_user }}'
group: '{{ bashrc_group }}'
mode: u+rw,g+r,o+r
when: ansible_os_family == "Darwin"
tags:
- dotfiles
|