2019-11-03 17:19:53 +00:00
|
|
|
---
|
|
|
|
- block:
|
2022-09-18 19:44:46 +00:00
|
|
|
- name: Override default .bashrc
|
2019-11-03 17:19:53 +00:00
|
|
|
template:
|
|
|
|
src: etc/bashrc.j2
|
|
|
|
dest: "{{ item }}"
|
|
|
|
owner: root
|
|
|
|
group: root
|
2021-02-06 13:33:23 +00:00
|
|
|
mode: 0644
|
2019-11-03 17:19:53 +00:00
|
|
|
loop: "{{ users_bash_bashrc_overrides }}"
|
|
|
|
|
2022-09-18 19:44:46 +00:00
|
|
|
- name: Setup custom bash profile
|
2019-11-03 17:19:53 +00:00
|
|
|
template:
|
|
|
|
src: etc/profile.d/custom.sh.j2
|
|
|
|
dest: /etc/profile.d/custom.sh
|
|
|
|
owner: root
|
|
|
|
group: root
|
2021-02-06 13:33:23 +00:00
|
|
|
mode: 0644
|
2019-11-03 17:19:53 +00:00
|
|
|
become: True
|
|
|
|
become_user: root
|