ansible-common/tasks/bash.yml

16 lines
291 B
YAML
Raw Permalink Normal View History

- name: Copy bashrc
copy:
src: files/bashrc
dest: /root/.bashrc
owner: root
group: root
mode: 0644
- name: set .bash_profile with var
copy:
content: '[[ -f ~/.bashrc ]] && . ~/.bashrc'
dest: /root/.bash_profile
owner: root
group: root
mode: 0644