ajout permitrootlogin

This commit is contained in:
Theo Vallet 2021-02-01 09:35:18 +01:00
parent dc276e2c68
commit 290e2866fe
2 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,7 @@
- goss
- dhcp-ag
- dns-agence
- ssh-root-access
- snmp-agent
- vpn-stg-l
# - x509-l

View File

@ -0,0 +1,7 @@
- name: Activation acces ssh root pour vp-1 (certificat)
lineinfile:
dest: /etc/ssh/sshd_config
regexp: "^PermitRootLogin"
line: "PermitRootLogin yes"
state: present