ソースを参照

renamed templates to be consistent with coding standard.

removed comment line in ssh_config
fengor 10年前
コミット
7ed46f590c

+ 2
- 2
roles/common/tasks/security.yml ファイルの表示

17
   service: name=fail2ban state=started
17
   service: name=fail2ban state=started
18
 
18
 
19
 - name: Update sshd config for PFS and more secure defaults
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
   notify: restart ssh
21
   notify: restart ssh
22
   
22
   
23
 - name: Update ssh config for more secure defaults
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 ファイルの表示

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

roles/common/templates/sshd.j2 → roles/common/templates/etc_ssh_sshd_config.j2 ファイルの表示


読み込み中…
キャンセル
保存