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