diff options
Diffstat (limited to 'roles/space_server')
-rw-r--r-- | roles/space_server/files/ssh-switches.conf | 7 | ||||
-rw-r--r-- | roles/space_server/tasks/main.yml | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/roles/space_server/files/ssh-switches.conf b/roles/space_server/files/ssh-switches.conf new file mode 100644 index 0000000..6fa6f48 --- /dev/null +++ b/roles/space_server/files/ssh-switches.conf @@ -0,0 +1,7 @@ +Host switch.s + User cisco + KexAlgorithms +diffie-hellman-group1-sha1 + +Host bunkerswitch.s + User cisco + KexAlgorithms +diffie-hellman-group1-sha1 diff --git a/roles/space_server/tasks/main.yml b/roles/space_server/tasks/main.yml index 112c4ce..3768d5e 100644 --- a/roles/space_server/tasks/main.yml +++ b/roles/space_server/tasks/main.yml @@ -9,6 +9,16 @@ tags: - fstab +- name: Extra ssh hosts + copy: + dest: '/etc/ssh/ssh_config.d/60-switches.conf' + src: ssh-switches.conf + owner: root + group: root + mode: 0644 + tags: + - ssh + - import_tasks: kernel.yml tags: kernel - import_tasks: gettys.yml |