wip
This commit is contained in:
parent
4ca7faba79
commit
8f1f646b3b
2 changed files with 5 additions and 11 deletions
|
@ -6,6 +6,7 @@ files = {
|
|||
'/etc/cron.weekly/zfs-auto-snapshot': {'delete': True, 'needs': {'pkg_apt:zfs-auto-snapshot'}},
|
||||
'/etc/cron.monthly/zfs-auto-snapshot': {'delete': True, 'needs': {'pkg_apt:zfs-auto-snapshot'}},
|
||||
'/etc/modprobe.d/zfs.conf': {
|
||||
'content_type': 'text',
|
||||
'content': '\n'.join(
|
||||
f'options zfs {k}={v}'
|
||||
for k, v in node.metadata.get('zfs/kernel_params').items()
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
'hostname': '10.0.0.16',
|
||||
'groups': [
|
||||
'webserver',
|
||||
'backup',
|
||||
'monitored',
|
||||
'raspberry-pi',
|
||||
'autologin',
|
||||
],
|
||||
'bundles': [
|
||||
'apt',
|
||||
|
@ -14,9 +18,7 @@
|
|||
'sudo',
|
||||
'locale',
|
||||
'zsh',
|
||||
'monitored',
|
||||
'zfs',
|
||||
'backup',
|
||||
'systemd',
|
||||
'systemd-timers',
|
||||
'systemd-journald',
|
||||
|
@ -65,12 +67,6 @@
|
|||
},
|
||||
},
|
||||
},
|
||||
'telegraf': {
|
||||
'influxdb_node': 'home.server',
|
||||
},
|
||||
'monitoring': {
|
||||
'icinga2_node': 'home.server',
|
||||
},
|
||||
'hosts': {
|
||||
'10.0.11.3': [
|
||||
'resolver.name',
|
||||
|
@ -108,9 +104,6 @@
|
|||
},
|
||||
},
|
||||
'os_codename': 'bookworm',
|
||||
'system': {
|
||||
'architecture': 'arm64',
|
||||
},
|
||||
},
|
||||
'os': 'debian',
|
||||
'os_version': (12,),
|
||||
|
|
Loading…
Reference in a new issue