forked from evolix/ansible-roles
evolinux-base: Corriger autorisation pour evolinux_user
Cas configuration SSH séparée. Ticket #74636.
This commit is contained in:
parent
3347ac4271
commit
a80076a5ea
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue