Browse Source

renamed templates to be consistent with coding standard.

removed comment line in ssh_config
fengor 9 years ago
parent
commit
7ed46f590c

+ 2
- 2
roles/common/tasks/security.yml View File

@@ -17,9 +17,9 @@
17 17
   service: name=fail2ban state=started
18 18
 
19 19
 - name: Update sshd config for PFS and more secure defaults
20
-  template: src=sshd.j2 dest=/etc/ssh/sshd_config
20
+  template: src=etc_ssh_sshd_config.j2 dest=/etc/ssh/sshd_config
21 21
   notify: restart ssh
22 22
   
23 23
 - name: Update ssh config for more secure defaults
24
-  template: src=ssh.j2 dest=/etc/ssh/ssh_config
24
+  template: src=etc_ssh_ssh_config.j2 dest=/etc/ssh/ssh_config
25 25
 

roles/common/templates/ssh.j2 → roles/common/templates/etc_ssh_ssh_config.j2 View File

@@ -1,5 +1,4 @@
1 1
     Ciphers {{ ciphers }}
2
-    #KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
3 2
     KexAlgorithms {{ kex_algorithms }}
4 3
     SendEnv LANG LC_*
5 4
     HashKnownHosts yes

roles/common/templates/sshd.j2 → roles/common/templates/etc_ssh_sshd_config.j2 View File


Loading…
Cancel
Save