diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 7988533..7c13886 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -1278,6 +1278,16 @@ 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" @@ -1294,16 +1304,16 @@ - "functions/*.function" -- name: General | Account Management | Users | Shared RC (env-shared) | Download +- name: General | Account Management | Users | env-shared | Download git: - repo: https://hyperling.com/me/env-shared + repo: https://git.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 +- name: General | Account Management | Users | env-shared | Install | rc_shared copy: src: "{{ shared_rc_install_dir }}/rc_shared.sh" dest: "{{ item }}/.rc_shared" @@ -1316,14 +1326,21 @@ ignore_errors: yes 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: path: "{{ user_user.home }}/{{ item }}" owner: "{{ user }}" mode: '0755' loop: - - .bashrc - - .zshrc - - .vimrc - .rc_shared + ignore_errors: yes