role_hugo/templates/hugo.timer.j2

13 lines
210 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=HuGO to reload {{ hugo_base_url }}
ConditionFileNotEmpty={{ hugo_data_path }}/config.yaml
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target