xoxys.users/tasks/bash.yml

19 lines
463 B
YAML
Raw Normal View History

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