Bugfixes (#27)

* Fix variable sticking.

* Use unset instead of empty string.

* Bugfix for Arch. Output enhancement for FreeBSD.

* Fix cron action for Debian.
This commit is contained in:
2022-05-22 06:23:28 -05:00
committed by GitHub
parent b644ba9479
commit cb9ae5eb18
3 changed files with 10 additions and 4 deletions

View File

@ -177,14 +177,14 @@
## Cron ##
- name: Server | Software | HTTPS Git Server | Cron | Hourly
ansible.builtin.cron:
cron:
name: "{{ item.name }} hourly"
special_time: hourly
job: "cd {{ git_web_root }}/{{ item.name }}.git && {{ git_cron_commands }}"
loop: "{{ git_projects }}"
- name: Server | Software | HTTPS Git Server | Cron | Reboot
ansible.builtin.cron:
cron:
name: "{{ item.name }} reboot"
special_time: reboot
job: "cd {{ git_web_root }}/{{ item.name }}.git && {{ git_cron_commands }}"