Refactor Ansible tasks and templates for improved consistency and clarity

This commit is contained in:
2026-07-31 02:24:42 +02:00
parent 81ef678904
commit 46327da2ac
52 changed files with 1679 additions and 1461 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
---
- name: (cron.yml) Set env entries in user crontabs
cron:
ansible.builtin.cron:
name: "{{ item.name }}"
env: "yes"
user: '{{ item.user | default("root") }}'
@@ -14,7 +14,7 @@
- user_crontab
- name: (cron.yml) Set special time entries in user crontabs
cron:
ansible.builtin.cron:
name: "{{ item.name }}"
special_time: "{{ item.special_time }}"
user: '{{ item.user | default("root") }}'
@@ -28,7 +28,7 @@
- user_crontab
- name: (cron.yml) Set normal entries in user crontabs
cron:
ansible.builtin.cron:
name: "{{ item.name }}"
minute: "{{ item.minute | default(omit) }}"
hour: "{{ item.hour | default(omit) }}"