Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62a631a707 | ||
|
|
da140e11e0 | ||
|
|
c4e3ef7743 | ||
|
|
f521a2abeb | ||
|
|
fe46caf25d | ||
|
|
0a128df719 |
|
|
@ -23,6 +23,11 @@
|
|||
},
|
||||
"conf": {
|
||||
"type": "any"
|
||||
},
|
||||
"rate": {
|
||||
"nullable": false,
|
||||
"type": "integer",
|
||||
"default": 15
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
"cfg_heimdall_order_defaults": {
|
||||
"user": "heimdall",
|
||||
"directory_program": "/opt/heimdall",
|
||||
"directory_conf": "/etc/heimdall"
|
||||
"directory_conf": "/etc/heimdall",
|
||||
"rate": 15
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
{
|
||||
"name": "file",
|
||||
"become": true,
|
||||
"become_user": "{{cfg_heimdall_program.user}}",
|
||||
"ansible.builtin.copy": {
|
||||
"content": "{{cfg_heimdall_order.conf | to_nice_json(sort_keys=False)}}",
|
||||
"dest": "{{cfg_heimdall_order.directory_conf}}/{{cfg_heimdall_order.name}}.hmdl.json"
|
||||
|
|
@ -25,7 +24,7 @@
|
|||
"user": "{{cfg_heimdall_order.user}}",
|
||||
"disabled": false,
|
||||
"name": "heimdall:{{cfg_heimdall_order.name}}",
|
||||
"minute": "*",
|
||||
"minute": "*/{{cfg_heimdall_order.rate | string}}",
|
||||
"hour": "*",
|
||||
"day": "*",
|
||||
"month": "*",
|
||||
|
|
|
|||
Loading…
Reference in a new issue