Compare commits

..

6 commits
main ... dev

Author SHA1 Message Date
fenris 62a631a707 [int] 2026-03-31 22:00:40 +02:00
fenris da140e11e0 [int] 2026-03-31 21:56:12 +02:00
fenris c4e3ef7743 [int] 2026-03-31 21:52:07 +02:00
fenris f521a2abeb [int] 2026-03-31 21:51:02 +02:00
fenris fe46caf25d [int] 2026-03-31 21:35:27 +02:00
fenris 0a128df719 [int] 2026-03-31 21:28:12 +02:00
3 changed files with 8 additions and 3 deletions

View file

@ -23,6 +23,11 @@
}, },
"conf": { "conf": {
"type": "any" "type": "any"
},
"rate": {
"nullable": false,
"type": "integer",
"default": 15
} }
}, },
"additionalProperties": false, "additionalProperties": false,

View file

@ -2,6 +2,7 @@
"cfg_heimdall_order_defaults": { "cfg_heimdall_order_defaults": {
"user": "heimdall", "user": "heimdall",
"directory_program": "/opt/heimdall", "directory_program": "/opt/heimdall",
"directory_conf": "/etc/heimdall" "directory_conf": "/etc/heimdall",
"rate": 15
} }
} }

View file

@ -11,7 +11,6 @@
{ {
"name": "file", "name": "file",
"become": true, "become": true,
"become_user": "{{cfg_heimdall_program.user}}",
"ansible.builtin.copy": { "ansible.builtin.copy": {
"content": "{{cfg_heimdall_order.conf | to_nice_json(sort_keys=False)}}", "content": "{{cfg_heimdall_order.conf | to_nice_json(sort_keys=False)}}",
"dest": "{{cfg_heimdall_order.directory_conf}}/{{cfg_heimdall_order.name}}.hmdl.json" "dest": "{{cfg_heimdall_order.directory_conf}}/{{cfg_heimdall_order.name}}.hmdl.json"
@ -25,7 +24,7 @@
"user": "{{cfg_heimdall_order.user}}", "user": "{{cfg_heimdall_order.user}}",
"disabled": false, "disabled": false,
"name": "heimdall:{{cfg_heimdall_order.name}}", "name": "heimdall:{{cfg_heimdall_order.name}}",
"minute": "*", "minute": "*/{{cfg_heimdall_order.rate | string}}",
"hour": "*", "hour": "*",
"day": "*", "day": "*",
"month": "*", "month": "*",