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
This commit is contained in:
parent
d91103792d
commit
022984594b
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- src: dev-sec.ssh-hardening
|
||||
version: 9.7.0
|
||||
collections:
|
||||
- name: devsec.hardening
|
||||
version: 7.1.0
|
||||
|
|
4
ssh.yml
4
ssh.yml
|
@ -18,9 +18,11 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
- hosts: ssh
|
||||
collections:
|
||||
- devsec.hardening
|
||||
roles:
|
||||
- role: ssh
|
||||
- role: dev-sec.ssh-hardening
|
||||
- role: devsec.hardening.ssh_hardening
|
||||
become: true
|
||||
- role: epel
|
||||
- role: fail2ban
|
||||
|
|
Loading…
Add table
Reference in a new issue