test with ssh new ubuntu

This commit is contained in:
2024-05-08 12:49:46 +02:00
parent d38ceafb94
commit 5b02fbfc41
7 changed files with 1549 additions and 1553 deletions

View File

@@ -81,19 +81,19 @@
#||-----> GPG error: https://pkgs.netbird.io/debian stable InRelease: The following signatures couldn't be verified because the public key is not available
roles:
# - robertdebock.update
# - devsec.hardening.os_hardening
# - devsec.hardening.ssh_hardening
# - robertdebock.update
- devsec.hardening.os_hardening
- devsec.hardening.ssh_hardening
# - maxlareo.rkhunter
# - maxlareo.chkrootkit
# - robertdebock.auditd
- { role: geerlingguy.firewall, tags: firewall }
# - grog.management-user
# - GROG.user
# - GROG.authorized-key
# - GROG.sudo
# - ansible_unattended_upgrades
# - buluma.lynis
- robertdebock.auditd
- geerlingguy.firewall
- grog.management-user
- GROG.user
- GROG.authorized-key
- GROG.sudo
- ansible_unattended_upgrades
- buluma.lynis
# roles:
# - role: netways.elasticstack.elasticsearch
@@ -102,7 +102,7 @@
- name: Update repositories and install py3-pip package
community.general.apk:
name: py3-pip
name: python3-pip
update_cache: true
delegate_to: localhost
@@ -121,7 +121,7 @@
firstmatch: true
line: '#!Enable-HMAC-ETM'
- name: Reload service httpd, in all cases
- name: Reload service sshd, in all cases
ansible.builtin.service:
name: sshd.service
state: reloaded