sshd_cert: Use correct CA cert for signing
This commit is contained in:
parent
f4cc662c1a
commit
ba7086f3b1
1 changed files with 2 additions and 2 deletions
|
@ -23,12 +23,12 @@
|
|||
delegate_to: localhost
|
||||
register: sshd_cert_status
|
||||
|
||||
- name: Sign key
|
||||
- name: Sign certificate
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- ssh-keygen
|
||||
- -s
|
||||
- /srv/sshca/ca/ca
|
||||
- "/srv/sshca/ca/ca.{{ ansible_date_time['year'] }}"
|
||||
- -I
|
||||
- "{{ inventory_hostname }}"
|
||||
- -h
|
||||
|
|
Loading…
Add table
Reference in a new issue