use fqcn for community.crypto.openssh_keypair module (#389)

tihis fixes a problem with Ansible 2.9 where the default openssh_keypair
is not supporting every option we need

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
This commit is contained in:
schurzi 2021-02-05 19:44:23 +01:00 committed by GitHub
parent 2f9cd82615
commit 4b0819349d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -45,7 +45,8 @@ tags:
# collection label 'namespace.name'. The value is a version range
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies: {}
dependencies:
community.crypto: '>=1.0.0'
# The URL of the originating SCM repository
repository: https://github.com/dev-sec/ansible-os-hardening

View file

@ -1,6 +1,6 @@
---
- name: replace default 2048 bits RSA keypair with 4096 bits keypair
openssh_keypair:
community.crypto.openssh_keypair:
state: present
type: rsa
size: 4096