Add tasks to download and install env-shared project's bashrc addition.

This commit is contained in:
2026-03-27 18:16:54 -07:00
parent 2e0dd78f68
commit 6a36811590

View File

@@ -1278,16 +1278,6 @@
ignore_errors: yes
when: user_root.home != "" and user_user.home != ""
- name: General | Account Management | Users | Files | Ownership
file:
path: "{{ user_user.home }}/{{ item }}"
owner: "{{ user }}"
mode: '0755'
loop:
- .bashrc
- .zshrc
- .vimrc
- name: General | Account Management | Users | Files | Helper Functions (Reset)
shell: "rm -v {{ global_bin }}/*.function"
@@ -1302,3 +1292,38 @@
mode: 0755
with_fileglob:
- "functions/*.function"
- name: General | Account Management | Users | Shared RC (env-shared) | Download
git:
repo: https://hyperling.com/me/env-shared
dest: "{{ shared_rc_install_dir }}"
clone: true
force: true
update: true
ignore_errors: yes
- name: General | Account Management | Users | Shared RC (env-shared) | Install
copy:
src: "{{ shared_rc_install_dir }}/rc_shared.sh"
dest: "{{ item }}/.rc_shared"
owner: root
group: "{{ root_group }}"
mode: 0755
loop:
- "{{ user_root.home }}"
- "{{ user_user.home }}"
ignore_errors: yes
when: user_root.home != "" and user_user.home != ""
- name: General | Account Management | Users | Files | Ownership
file:
path: "{{ user_user.home }}/{{ item }}"
owner: "{{ user }}"
mode: '0755'
loop:
- .bashrc
- .zshrc
- .vimrc
- .rc_shared