ajout permitrootlogin
This commit is contained in:
parent
dc276e2c68
commit
290e2866fe
@ -13,6 +13,7 @@
|
|||||||
- goss
|
- goss
|
||||||
- dhcp-ag
|
- dhcp-ag
|
||||||
- dns-agence
|
- dns-agence
|
||||||
|
- ssh-root-access
|
||||||
- snmp-agent
|
- snmp-agent
|
||||||
- vpn-stg-l
|
- vpn-stg-l
|
||||||
# - x509-l
|
# - x509-l
|
||||||
|
7
roles/ssh-root-access/tasks/main.yml
Normal file
7
roles/ssh-root-access/tasks/main.yml
Normal 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user