.bash_profile
This commit is contained in:
@@ -83,6 +83,16 @@
|
||||
- { src: 'tmux/tmux.conf', dest: '.tmux.conf' }
|
||||
ignore_errors: yes
|
||||
|
||||
- name: users | {{ user }} | create bash_profile
|
||||
lineinfile:
|
||||
path: "{{ getent_passwd[user][4] }}/.bash_profile"
|
||||
state: present
|
||||
line: "[ -f ~/.bashrc ] && . ~/.bashrc"
|
||||
create: True
|
||||
mode: "0644"
|
||||
owner: "{{ user }}"
|
||||
group: "{{ user }}"
|
||||
|
||||
- name: users | {{ user }} | call dotfile install script
|
||||
become: yes
|
||||
become_user: '{{ user }}'
|
||||
|
||||
Reference in New Issue
Block a user