From c9f41f1232069395da088a7d8e4ee0244995c76d Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 27 Oct 2025 18:11:43 +0100 Subject: [PATCH] update.. --- roles/common/tasks/samba-config-server.yml | 2 +- roles/common/tasks/users-systemfiles.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/roles/common/tasks/samba-config-server.yml b/roles/common/tasks/samba-config-server.yml index 553f49f..e51abb6 100644 --- a/roles/common/tasks/samba-config-server.yml +++ b/roles/common/tasks/samba-config-server.yml @@ -165,7 +165,7 @@ tags: [samba-server, samba-cron] -- name: (samba-config-server.yml) Creates a cron job for cleaning up samba trash dirs +- name: (samba-config-server.yml) Creates a cron job for setting permissions to samba dirs ansible.builtin.cron: name: "{{ samba_cronjob_permissions.name }}" minute: "{{ samba_cronjob_permissions.minute }}" diff --git a/roles/common/tasks/users-systemfiles.yml b/roles/common/tasks/users-systemfiles.yml index 965a192..cc812c6 100644 --- a/roles/common/tasks/users-systemfiles.yml +++ b/roles/common/tasks/users-systemfiles.yml @@ -71,6 +71,9 @@ tags: - bash +# -- +# -- root user +# -- - name: (users-systemfiles.yml) Check if file '/root/.bashrc.ORIG' exists stat: @@ -165,6 +168,10 @@ tags: - bash +# -- +# -- root user +# -- + - name: (users-systemfiles.yml) Check if file '/root/.profile.ORIG' exists stat: path: /root/.profile.ORIG @@ -265,6 +272,9 @@ tags: - bash +# -- +# -- root user +# -- - name: (users-systemfiles.yml) Check if file '/root/.bash_profile.ORIG' exists stat: @@ -366,6 +376,10 @@ tags: - vim +# -- +# -- root user +# -- + # 1) Prüfen ob die _vimrc für root auf dem Control-Node existiert - name: stat root _vimrc on control node ansible.builtin.stat: