evolix-base/root: fix module used
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2630|3|2627|4|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/369//ansiblelint">Evolix » ansible-roles » unstable #369</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2630|3|2627|4|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/369//ansiblelint">Evolix » ansible-roles » unstable #369</a>
gitea/ansible-roles/pipeline/head This commit looks good
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
|
* packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container
|
||||||
* 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
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
- ansible_distribution_major_version is version('12', '>=')
|
- ansible_distribution_major_version is version('12', '>=')
|
||||||
|
|
||||||
- name: disable SSH access for root (Debian >= 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
|
path: /etc/ssh/sshd_config.d/z-evolinux-defaults.conf
|
||||||
line: "PermitRootLogin no"
|
line: "PermitRootLogin no"
|
||||||
create: yes
|
create: yes
|
||||||
|
|
Loading…
Reference in a new issue