Refactor Ansible tasks and templates for improved consistency and clarity

This commit is contained in:
chris committed 2026-07-31 02:24:42 +02:00
1 parent 81ef678904
commit 46327da2ac
52 files changed
+1679 -1461

No files matched your search

+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) }}"