hardening.yml aktualisiert

This commit is contained in:
olli 2023-09-28 12:49:13 +02:00
parent 7dc67f1678
commit 928271d575

View File

@ -8,11 +8,11 @@
path: /usr/bin/systemd path: /usr/bin/systemd
register: nocontainer register: nocontainer
- name: Remove root-Password # - name: Remove root-Password
user: # user:
name: root # name: root
password: '*' # password: '*'
when: nocontainer.stat.exists == true # when: nocontainer.stat.exists == true
- name: SSHD hardening - name: SSHD hardening
blockinfile: blockinfile: