Closed ricrodriguezg closed 2 years ago
@ricrodriguezg This is expected behaviour. The error comes from SSH Protect. By default, the SSH certificate issuance templates disallow private key reuse. However, this can be adjusted on the issuance template.
PROBLEM SUMMARY ssh_certificate role is returning an error on its second execution when the variable
ssh_key_generation_type
is set toprovided
and an existing public key is provided.STEPS TO REPRODUCE
Set the ssh_key_generation_type
to
providedand the
ssh_public_key_path` to provide an existing public key, execute your playbook twice and in the second executing you'll receive the above mentioned errorEXPECTED RESULTS
The following error appears:
ACTUAL RESULTS
ENVIRONMENT DETAILS
COMMENTS/WORKAROUNDS
No Workaround found so far.