fqcn
This commit is contained in:
parent
ec34d8afe1
commit
eca2b5e4bf
|
@ -102,7 +102,7 @@
|
||||||
- ansible_distribution_major_version is version('11', '<=')
|
- ansible_distribution_major_version is version('11', '<=')
|
||||||
|
|
||||||
- name: disable SSH access for root (Debian <= 12)
|
- name: disable SSH access for root (Debian <= 12)
|
||||||
replace:
|
ansible.builtin.replace:
|
||||||
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
||||||
line: "PermitRootLogin no"
|
line: "PermitRootLogin no"
|
||||||
create: yes
|
create: yes
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
- ansible_distribution_major_version is version('11', '<=')
|
- ansible_distribution_major_version is version('11', '<=')
|
||||||
|
|
||||||
- name: disable root login (Debian <= 12)
|
- name: disable root login (Debian <= 12)
|
||||||
replace:
|
ansible.builtin.replace:
|
||||||
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
||||||
line: "PermitRootLogin no"
|
line: "PermitRootLogin no"
|
||||||
create: yes
|
create: yes
|
||||||
|
|
Loading…
Reference in a new issue