Changeset 13845
- Timestamp:
- 21 Apr 2016, 12:35:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup-ansible/bootstrap.yml
r13844 r13845 38 38 state=present" 39 39 40 - name: "bootstrap | disable dsa keys in sshd_config" 41 lineinfile: 42 dest=/etc/ssh/sshd_config 43 backrefs=yes 44 line='# HostKey /etc/ssh/ssh_host_dsa_key' 45 regexp='^HostKey /etc/ssh/ssh_host_dsa_key' 46 state=present 47 48 - name: "bootstrap | disable ecdsa keys in sshd_config" 49 lineinfile: 50 dest=/etc/ssh/sshd_config 51 backrefs=yes 52 line='# HostKey /etc/ssh/ssh_host_ecdsa_key' 53 regexp='^HostKey /etc/ssh/ssh_host_ecdsa_key' 54 state=present 55 56 - name: "bootstrap | set key bits in sshd_config to 4096" 57 lineinfile: 58 dest=/etc/ssh/sshd_config 59 backrefs=yes 60 line='ServerKeyBits 4096' 61 regexp='^ServerKeyBits 1024' 62 state=present 63 40 64 - name: "bootstrap | restart sshd" 41 65 service:
Note: See TracChangeset for help on using the changeset viewer.