FIXME_dont_touch_sshd

This commit is contained in:
mwiegand 2021-11-01 10:15:57 +01:00
parent 3d070abca7
commit c62fae4fc4
3 changed files with 11 additions and 8 deletions

View file

@ -1,14 +1,14 @@
if not node.in_group('raspberry-pi'): if not node.metadata.get('FIXME_dont_touch_sshd', False):
# FIXME # on debian bullseye raspberry images, starting the systemd ssh
# daemon seems to collide with an existing sysv daemon
files['/etc/ssh/sshd_config'] = { files['/etc/ssh/sshd_config'] = {
'triggers': [ 'triggers': [
'svc_systemd:ssh:restart' 'svc_systemd:ssh:restart'
], ],
} }
svc_systemd['ssh'] = { svc_systemd['ssh'] = {
'running': not node.in_group('raspberry-pi'), # FIXME 'needs': [
'needs': [ 'tag:ssh_users',
'tag:ssh_users', ],
], }
}

View file

@ -11,6 +11,8 @@
'java', 'java',
], ],
'metadata': { 'metadata': {
'FIXME_dont_touch_sshd': True,
'id': '0afcde75-95c8-4fbd-b4c2-8a0fcc92884a', 'id': '0afcde75-95c8-4fbd-b4c2-8a0fcc92884a',
'network': { 'network': {
'internal': { 'internal': {

View file

@ -10,6 +10,7 @@
'wpa-supplicant', 'wpa-supplicant',
], ],
'metadata': { 'metadata': {
'FIXME_dont_touch_sshd': True,
'id': 'dd521b8a-dc03-43f5-b29f-068f948ba3b8', 'id': 'dd521b8a-dc03-43f5-b29f-068f948ba3b8',
'network': { 'network': {
'internal': { 'internal': {