This commit is contained in:
Alexis Ben Miloud--Josselin 2023-03-31 14:42:56 +02:00
parent ec34d8afe1
commit eca2b5e4bf
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@
- ansible_distribution_major_version is version('11', '<=')
- name: disable SSH access for root (Debian <= 12)
replace:
ansible.builtin.replace:
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
line: "PermitRootLogin no"
create: yes

View file

@ -67,7 +67,7 @@
- ansible_distribution_major_version is version('11', '<=')
- name: disable root login (Debian <= 12)
replace:
ansible.builtin.replace:
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
line: "PermitRootLogin no"
create: yes