Replaced depenencies by includes for performance reasons

This commit is contained in:
2025-08-12 03:08:33 +02:00
parent 8634b5e1b3
commit 1a42e8bd14
89 changed files with 716 additions and 830 deletions

View File

@@ -1,12 +1,8 @@
- name: Load former meta dependencies once
block:
- name: Include moved dependency 'user-administrator'
- block:
- name: Include dependency 'user-administrator'
include_role:
name: user-administrator
- set_fact:
run_once_sys_svc_sshd: true
when: run_once_sys_svc_sshd is not defined
- block:
when: run_once_user_administrator is not defined
- name: create sshd_config
template:
src: "sshd_config.j2"
@@ -15,8 +11,5 @@
group: root
mode: '0644'
notify: sshd restart
- name: run the sshd tasks once
set_fact:
run_once_sys_svc_sshd: true
- include_tasks: utils/run_once.yml
when: run_once_sys_svc_sshd is not defined