Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc113f2a86 |
|
|
@ -23,11 +23,6 @@
|
||||||
},
|
},
|
||||||
"conf": {
|
"conf": {
|
||||||
"type": "any"
|
"type": "any"
|
||||||
},
|
|
||||||
"rate": {
|
|
||||||
"nullable": false,
|
|
||||||
"type": "integer",
|
|
||||||
"default": 15
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
"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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
{
|
{
|
||||||
"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"
|
||||||
|
|
@ -24,7 +25,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": "*/{{cfg_heimdall_order.rate | string}}",
|
"minute": "*",
|
||||||
"hour": "*",
|
"hour": "*",
|
||||||
"day": "*",
|
"day": "*",
|
||||||
"month": "*",
|
"month": "*",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue