xoxys.users/tasks/bash.yml

21 lines
455 B
YAML
Raw Normal View History

2019-11-03 17:19:53 +00:00
---
- block:
- 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 }}"
- 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