evolix-base/root: fix module used
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> Details
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
Alexis Ben Miloud--Josselin 2023-10-09 17:12:15 +02:00
parent c673ed10c6
commit 0c9b55e5e1
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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