hardening

This commit is contained in:
2024-04-01 18:25:08 +02:00
parent 54462835b0
commit bc374aeddf

View File

@@ -81,26 +81,31 @@
# chmod go+r /usr/share/keyrings/netbird-archive-keyring.gpg for error: # chmod go+r /usr/share/keyrings/netbird-archive-keyring.gpg for error:
#||-----> GPG error: https://pkgs.netbird.io/debian stable InRelease: The following signatures couldn't be verified because the public key is not available #||-----> GPG error: https://pkgs.netbird.io/debian stable InRelease: The following signatures couldn't be verified because the public key is not available
roles: # roles:
- robertdebock.update # - robertdebock.update
- devsec.hardening.os_hardening # - devsec.hardening.os_hardening
- devsec.hardening.ssh_hardening # - devsec.hardening.ssh_hardening
- maxlareo.rkhunter # - maxlareo.rkhunter
- maxlareo.chkrootkit # - maxlareo.chkrootkit
- robertdebock.auditd # - robertdebock.auditd
- geerlingguy.firewall # - geerlingguy.firewall
- grog.management-user # - grog.management-user
- GROG.user # - GROG.user
- GROG.authorized-key # - GROG.authorized-key
- GROG.sudo # - GROG.sudo
- ansible_unattended_upgrades # - ansible_unattended_upgrades
- buluma.lynis # - buluma.lynis
# roles: # roles:
# - role: netways.elasticstack.elasticsearch # - role: netways.elasticstack.elasticsearch
# tags: test2 # tags: test2
tasks: tasks:
- name: Install bottle python package
ansible.builtin.pip:
name: netaddr
delegate_to: localhost
- name: Tcheck ssh conf for phone connection - name: Tcheck ssh conf for phone connection
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/ssh/ssh_config path: /etc/ssh/ssh_config