THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs

This commit is contained in:
2025-08-15 15:15:48 +02:00
parent 0228014d34
commit 022800425d
271 changed files with 1098 additions and 916 deletions

View File

@@ -13,26 +13,26 @@
ssh_key_type: rsa
ssh_key_bits: 8192
- name: "set correct rights for {{path_administrator_home}}"
- name: "set correct rights for {{ PATH_ADMINISTRATOR_HOME }}"
file:
path: "{{path_administrator_home}}"
path: "{{ PATH_ADMINISTRATOR_HOME }}"
state: directory
owner: administrator
group: administrator
mode: 0700
- name: "create {{path_administrator_scripts}}"
- name: "create {{ PATH_ADMINISTRATOR_SCRIPTS }}"
file:
path: "{{path_administrator_home}}scripts"
path: "{{ PATH_ADMINISTRATOR_HOME }}scripts"
state: directory
owner: administrator
group: administrator
mode: 0700
- name: create {{path_administrator_home}}.ssh/authorized_keys
- name: create {{ PATH_ADMINISTRATOR_HOME }}.ssh/authorized_keys
copy:
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}{{path_administrator_home}}.ssh/authorized_keys"
dest: "{{path_administrator_home}}.ssh/authorized_keys"
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}{{ PATH_ADMINISTRATOR_HOME }}.ssh/authorized_keys"
dest: "{{ PATH_ADMINISTRATOR_HOME }}.ssh/authorized_keys"
owner: administrator
group: administrator
mode: '0644'