diff --git a/r-vp2.yml b/r-vp2.yml index b03d553..a3522e9 100644 --- a/r-vp2.yml +++ b/r-vp2.yml @@ -13,6 +13,7 @@ - goss - dhcp-ag - dns-agence + - ssh-root-access - snmp-agent - vpn-stg-l # - x509-l diff --git a/roles/ssh-root-access/tasks/main.yml b/roles/ssh-root-access/tasks/main.yml new file mode 100644 index 0000000..a77345b --- /dev/null +++ b/roles/ssh-root-access/tasks/main.yml @@ -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 +