19 lines
463 B
YAML
19 lines
463 B
YAML
|
---
|
||
|
- block:
|
||
|
- name: Override default .bashrc for given users
|
||
|
template:
|
||
|
src: etc/bashrc.j2
|
||
|
dest: "{{ item }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
loop: "{{ users_bash_bashrc_overrides }}"
|
||
|
|
||
|
- name: Setup custom bash profile at '/etc/profile.d/custom.sh'
|
||
|
template:
|
||
|
src: etc/profile.d/custom.sh.j2
|
||
|
dest: /etc/profile.d/custom.sh
|
||
|
owner: root
|
||
|
group: root
|
||
|
become: True
|
||
|
become_user: root
|