Automatically create Code folder on coding workstations.

This commit is contained in:
Hyperling 2025-01-01 08:36:27 -07:00
parent 8c0dd0f96c
commit 040e37e2d8

View File

@ -107,6 +107,16 @@
become_user: "{{ user }}"
when: user_user.home != ""
- name: General | Account Management | Users | User | Create Folders | Coding
file:
path: "{{ item }}"
state: directory
mode: '0755'
loop:
- "{{ user_user.home }}/Code"
become_user: "{{ user }}"
when: user_user.home != "" and coding == true
- name: General | Account Management | Users | Home Permissions
shell: "chmod 700 {{ user_user.home }}/../*"