hardening.yml aktualisiert
This commit is contained in:
parent
7dc67f1678
commit
928271d575
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user