Compare commits
2 commits
3347ac4271
...
bc3656dd4c
Author | SHA1 | Date | |
---|---|---|---|
bc3656dd4c | |||
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`
|
* postfix: add missing `localhost.$mydomain` to `mydestination`
|
||||||
* redis: replace erroneous `ini_file` module for Munin config, fix dedicated Munin config filename (z-XXX).
|
* 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: use lineinfile instead of replace under root task
|
||||||
|
* evolinux-base: Corriger autorisation pour evolinux_user
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
- name: "Add AllowUsers sshd directive for current user"
|
- name: "Add AllowUsers sshd directive for current user"
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/ssh/sshd_config.d/allow_evolinux_user.conf
|
dest: /etc/ssh/sshd_config.d/allow_evolinux_user.conf
|
||||||
|
create: yes
|
||||||
line: "AllowUsers {{ logname.stdout }}"
|
line: "AllowUsers {{ logname.stdout }}"
|
||||||
insertafter: 'Subsystem'
|
insertafter: 'Subsystem'
|
||||||
validate: '/usr/sbin/sshd -t -f %s'
|
validate: '/usr/sbin/sshd -t -f %s'
|
||||||
|
@ -44,6 +45,5 @@
|
||||||
|
|
||||||
- ansible.builtin.meta: flush_handlers
|
- ansible.builtin.meta: flush_handlers
|
||||||
|
|
||||||
# TODO vérifier présence de Include /etc/ssh/sshd_config.d/*.conf
|
|
||||||
# TODO si allowusers et allowgroups, ajouter utilisateur aux deux
|
# TODO si allowusers et allowgroups, ajouter utilisateur aux deux
|
||||||
# TODO si allowgroups, ajouter groupe de l’utilisateur
|
# TODO si allowgroups, ajouter groupe de l’utilisateur
|
||||||
|
|
Loading…
Reference in a new issue