Robert Kaussow
404a8ab1cb
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
501 B
YAML
21 lines
501 B
YAML
---
|
|
- block:
|
|
- name: Override default .bashrc for given users
|
|
template:
|
|
src: etc/bashrc.j2
|
|
dest: "{{ item }}"
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
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
|
|
mode: 0644
|
|
become: True
|
|
become_user: root
|