forked from evolix/ansible-roles
evolix-base/root: fix module used
This commit is contained in:
parent
c673ed10c6
commit
0c9b55e5e1
|
@ -82,6 +82,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
* packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container
|
||||
* 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
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
- ansible_distribution_major_version is version('12', '>=')
|
||||
|
||||
- name: disable SSH access for root (Debian >= 12)
|
||||
ansible.builtin.replace:
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
||||
line: "PermitRootLogin no"
|
||||
create: yes
|
||||
|
|
Loading…
Reference in a new issue