diff --git a/CHANGELOG.md b/CHANGELOG.md index 177c3dc1..86163086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * postfix: add missing `localhost.$mydomain` to `mydestination` * redis: replace erroneous `ini_file` module for Munin config, fix dedicated Munin config filename (z-XXX). * evolinux-base: use lineinfile instead of replace under root task +* evolinux-base: Corriger autorisation pour evolinux_user ### Removed diff --git a/evolinux-base/tasks/ssh.included-files.yml b/evolinux-base/tasks/ssh.included-files.yml index bb3538d6..c21fdd20 100644 --- a/evolinux-base/tasks/ssh.included-files.yml +++ b/evolinux-base/tasks/ssh.included-files.yml @@ -36,6 +36,7 @@ - name: "Add AllowUsers sshd directive for current user" ansible.builtin.lineinfile: dest: /etc/ssh/sshd_config.d/allow_evolinux_user.conf + create: yes line: "AllowUsers {{ logname.stdout }}" insertafter: 'Subsystem' validate: '/usr/sbin/sshd -t -f %s'