Skip to content
Snippets Groups Projects
Commit 6cdf9553 authored by Peter Nerlich's avatar Peter Nerlich
Browse files

when updating mods with cron, pass the git ref to update from

parent 0e2975fb
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
- name: Create cron job to automatically update mods
ansible.builtin.cron:
name: KIF minetest update mods
job: "cd {{ minetest_base_dir }}/minetest_mods && ./update.sh && systemctl restart minetest"
job: "cd {{ minetest_base_dir }}/minetest_mods && ./update.sh \"{{ mods_version }}\" && systemctl restart minetest"
minute: "56"
hour: "03"
become: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment