From eca2b5e4bf5ba30aa4c0f9b9738a552c94409667 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Fri, 31 Mar 2023 14:42:56 +0200 Subject: [PATCH] fqcn --- evolinux-base/tasks/root.yml | 2 +- evolinux-users/tasks/ssh.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evolinux-base/tasks/root.yml b/evolinux-base/tasks/root.yml index c7d7f1bd..2558897e 100644 --- a/evolinux-base/tasks/root.yml +++ b/evolinux-base/tasks/root.yml @@ -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 diff --git a/evolinux-users/tasks/ssh.yml b/evolinux-users/tasks/ssh.yml index 3a03e175..7998b714 100644 --- a/evolinux-users/tasks/ssh.yml +++ b/evolinux-users/tasks/ssh.yml @@ -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