Skip to content

Commit 4b08193

Browse files
authored
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 <[email protected]>
1 parent 2f9cd82 commit 4b08193

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

galaxy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ tags:
4545
# collection label 'namespace.name'. The value is a version range
4646
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
4747
# range specifiers can be set and are separated by ','
48-
dependencies: {}
48+
dependencies:
49+
community.crypto: '>=1.0.0'
4950

5051
# The URL of the originating SCM repository
5152
repository: https://github.com/dev-sec/ansible-os-hardening

roles/ssh_hardening/tasks/crypto_hostkeys.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: replace default 2048 bits RSA keypair with 4096 bits keypair
3-
openssh_keypair:
3+
community.crypto.openssh_keypair:
44
state: present
55
type: rsa
66
size: 4096

0 commit comments

Comments
 (0)