Also install all the bin scripts. Split the permissions command so that .rc_shared is allowed to fail.

This commit is contained in:
2026-03-27 18:22:27 -07:00
parent 6a36811590
commit 79a2c832b4

View File

@@ -1278,6 +1278,16 @@
ignore_errors: yes ignore_errors: yes
when: user_root.home != "" and user_user.home != "" 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) - name: General | Account Management | Users | Files | Helper Functions (Reset)
shell: "rm -v {{ global_bin }}/*.function" shell: "rm -v {{ global_bin }}/*.function"
@@ -1294,16 +1304,16 @@
- "functions/*.function" - "functions/*.function"
- name: General | Account Management | Users | Shared RC (env-shared) | Download - name: General | Account Management | Users | env-shared | Download
git: git:
repo: https://hyperling.com/me/env-shared repo: https://git.hyperling.com/me/env-shared
dest: "{{ shared_rc_install_dir }}" dest: "{{ shared_rc_install_dir }}"
clone: true clone: true
force: true force: true
update: true update: true
ignore_errors: yes ignore_errors: yes
- name: General | Account Management | Users | Shared RC (env-shared) | Install - name: General | Account Management | Users | env-shared | Install | rc_shared
copy: copy:
src: "{{ shared_rc_install_dir }}/rc_shared.sh" src: "{{ shared_rc_install_dir }}/rc_shared.sh"
dest: "{{ item }}/.rc_shared" dest: "{{ item }}/.rc_shared"
@@ -1316,14 +1326,21 @@
ignore_errors: yes ignore_errors: yes
when: user_root.home != "" and user_user.home != "" when: user_root.home != "" and user_user.home != ""
- name: General | Account Management | Users | env-shared | Install | Scripts
copy:
src: "{{ shared_rc_install_dir }}/bin/*"
dest: "{{ global_bin }}/"
owner: root
group: "{{ root_group }}"
mode: 0755
ignore_errors: yes
- name: General | Account Management | Users | Files | Ownership
- name: General | Account Management | Users | env-shared | Permissions
file: file:
path: "{{ user_user.home }}/{{ item }}" path: "{{ user_user.home }}/{{ item }}"
owner: "{{ user }}" owner: "{{ user }}"
mode: '0755' mode: '0755'
loop: loop:
- .bashrc
- .zshrc
- .vimrc
- .rc_shared - .rc_shared
ignore_errors: yes