Skip to content

Commit f021167

Browse files
wtripp180901sjpb
andauthored
comment update
Co-authored-by: Steve Brasier <[email protected]>
1 parent 4652c34 commit f021167

File tree

1 file changed

+1
-0
lines changed
  • ansible/roles/persist_hostkeys/tasks

1 file changed

+1
-0
lines changed

ansible/roles/persist_hostkeys/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- name: Generate hostkeys
2020
when: _files_found.matched == 0
2121
shell:
22+
# ssh-keygen -A needs a directory with an /etc/ssh suffix to write hostkeys into
2223
cmd: |
2324
mkdir -p {{ persist_hostkeys_state_dir }}/etc/ssh
2425
ssh-keygen -A -N '' -f {{ persist_hostkeys_state_dir }}

0 commit comments

Comments
 (0)