From 50b67ed0cc76c7d953002de9f3e33bfd90523242 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 2 Oct 2026 10:49:37 -0700 Subject: [PATCH] users, move env-shared download to its own Internet requiring playbook. --- tasks/general/acct_mgmt/users.yml | 50 -------------------------- tasks/general/software/env-shared.yml | 52 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 50 deletions(-) create mode 100644 tasks/general/software/env-shared.yml diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 17e2395..6cd2ac4 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -1394,53 +1394,3 @@ mode: 0755 with_fileglob: - "functions/*.function" - - -# Shared Environment Setup # - -- name: General | Account Management | Users | env-shared | Download / Update - git: - repo: https://git.hyperling.com/me/env-shared - version: "{{ branch }}" - dest: "{{ shared_rc_install_dir }}" - clone: true - force: true - update: true - #ignore_errors: true - -- name: General | Account Management | Users | env-shared | Install | .rc_shared - 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: true - when: user_root.home != "" and user_user.home != "" - -- name: General | Account Management | Users | env-shared | Install | .vimrc - copy: - src: "{{ shared_rc_install_dir }}/vimrc.vim" - dest: "{{ item }}/.vimrc" - owner: root - group: "{{ root_group }}" - mode: 0755 - loop: - - "{{ user_root.home }}" - - "{{ user_user.home }}" - #ignore_errors: true - when: user_root.home != "" and user_user.home != "" - -- name: General | Account Management | Users | env-shared | Permissions - file: - path: "{{ user_user.home }}/{{ item }}" - owner: "{{ user }}" - group: "{{ user }}" - mode: '0755' - loop: - - .rc_shared - - .vimrc - #ignore_errors: true diff --git a/tasks/general/software/env-shared.yml b/tasks/general/software/env-shared.yml new file mode 100644 index 0000000..300f302 --- /dev/null +++ b/tasks/general/software/env-shared.yml @@ -0,0 +1,52 @@ +--- +# 20261002 - Hyperling +# Move internet requiring code out of users.yml. + +# Shared Environment Setup # + +- name: General | Account Management | Users | env-shared | Download / Update + git: + repo: https://git.hyperling.com/me/env-shared + version: "{{ branch }}" + dest: "{{ shared_rc_install_dir }}" + clone: true + force: true + update: true + #ignore_errors: true + +- name: General | Account Management | Users | env-shared | Install | .rc_shared + 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: true + when: user_root.home != "" and user_user.home != "" + +- name: General | Account Management | Users | env-shared | Install | .vimrc + copy: + src: "{{ shared_rc_install_dir }}/vimrc.vim" + dest: "{{ item }}/.vimrc" + owner: root + group: "{{ root_group }}" + mode: "0755" + loop: + - "{{ user_root.home }}" + - "{{ user_user.home }}" + #ignore_errors: true + when: user_root.home != "" and user_user.home != "" + +- name: General | Account Management | Users | env-shared | Permissions + file: + path: "{{ user_user.home }}/{{ item }}" + owner: "{{ user }}" + group: "{{ user }}" + mode: "0755" + loop: + - .rc_shared + - .vimrc + #ignore_errors: true