mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Cleaning up of gen roles
This commit is contained in:
20
roles/dev-shell/tasks/main.yml
Normal file
20
roles/dev-shell/tasks/main.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Ensure ~/.bash_profile sources ~/.profile
|
||||
lineinfile:
|
||||
path: "$HOME/.bash_profile"
|
||||
line: '[ -f ~/.profile ] && . ~/.profile'
|
||||
insertafter: EOF
|
||||
state: present
|
||||
create: yes
|
||||
mode: "0644"
|
||||
become: false
|
||||
|
||||
- name: Ensure ~/.zprofile sources ~/.profile
|
||||
lineinfile:
|
||||
path: "$HOME/.zprofile"
|
||||
line: '[ -f ~/.profile ] && . ~/.profile'
|
||||
insertafter: EOF
|
||||
state: present
|
||||
create: yes
|
||||
mode: "0644"
|
||||
become: false
|
Reference in New Issue
Block a user