Closed JoyceBabu closed 11 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @mgruener click here for bot help
Please read the documentation for the solo
option:
This will delete all other records with the same record name and type.
What you describe is the intended behavior, and not a bug.
If you want to manage multiple SSHFP records for the same record name, you should not use solo: true
.
If I understand correctly, the intention of the solo: true
record is to prevent duplicates by automatically removing obsolete records. It is common to have more than one SSHFP record for a host name with different algorithm and type. So, if deduplication is the objective, then that should be done by considering the record name, algorithm and type for SSHFP records.
That's not what solo
does (and is intended for). It only cares about record names and types.
Considering the algo/type would have made it much more useful. But I will go ahead and close this issue. Thank you.
Summary
Setting
solo
totrue
for SSHFP record removes all the other SSHFP records for the hostname. A single hostname could have multiple SSHFP records with different algorithm/type. The values of algorithm / type should also be considered before removing existing record.Issue Type
Bug Report
Component Name
cloudflare_dns
Ansible Version
Community.general Version
Configuration
OS / Environment
Ubuntu 22.04
Steps to Reproduce
Expected Results
Both records should be retained.
Actual Results
First record is replaced.
Code of Conduct