From 022984594b1bf7f71de9964098007e3b7867688a Mon Sep 17 00:00:00 2001 From: saibotk Date: Wed, 3 Feb 2021 11:41:48 +0100 Subject: [PATCH] ssh: Migrate ssh-hardening to use the new collection This patch migrates to the new devsec.hardening collection, because the role is now included in the collection instead and will only be updated there. See: https://github.com/dev-sec/ansible-ssh-hardening#ssh-hardening-ansible-role --- requirements.yml | 5 +++-- ssh.yml | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/requirements.yml b/requirements.yml index b9a80a5..92af358 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,3 +1,4 @@ --- -- src: dev-sec.ssh-hardening - version: 9.7.0 +collections: +- name: devsec.hardening + version: 7.1.0 diff --git a/ssh.yml b/ssh.yml index b7a1456..422c8cf 100644 --- a/ssh.yml +++ b/ssh.yml @@ -18,9 +18,11 @@ # along with this program. If not, see . - hosts: ssh + collections: + - devsec.hardening roles: - role: ssh - - role: dev-sec.ssh-hardening + - role: devsec.hardening.ssh_hardening become: true - role: epel - role: fail2ban