fix non-breaking spaces

This commit is contained in:
Jérémy Lecour 2022-12-14 11:47:53 +01:00 committed by Jérémy Lecour
parent 240ccee12b
commit 0622e9ff1e
6 changed files with 12 additions and 12 deletions

View File

@ -205,7 +205,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* minifirewall: tail template follows symlinks * minifirewall: tail template follows symlinks
* mysql: add "set crypt_use_gpgme=no" Mutt option, for mysqltuner * mysql: add "set crypt_use_gpgme=no" Mutt option, for mysqltuner
### Fixed ### Fixed
* Role `postfix`: Add missing `localhost.localdomain localhost` to `mydestination` variable which caused undelivered of some local mails. * Role `postfix`: Add missing `localhost.localdomain localhost` to `mydestination` variable which caused undelivered of some local mails.

View File

@ -11,7 +11,7 @@ FULLFROM="{{ evomaintenance_full_from }}"
URGENCYFROM={{ evomaintenance_urgency_from }} URGENCYFROM={{ evomaintenance_urgency_from }}
URGENCYTEL="{{ evomaintenance_urgency_tel }}" URGENCYTEL="{{ evomaintenance_urgency_tel }}"
REALM="{{ evomaintenance_realm }}" REALM="{{ evomaintenance_realm }}"
API_ENDPOINT={{ evomaintenance_api_endpoint }} API_ENDPOINT={{ evomaintenance_api_endpoint }}
API_KEY={{ evomaintenance_api_key }} API_KEY={{ evomaintenance_api_key }}
HOOK_API={{ evomaintenance_hook_api | bool | ternary('1','0') }} HOOK_API={{ evomaintenance_hook_api | bool | ternary('1','0') }}

View File

@ -38,7 +38,7 @@ bantime = {{ fail2ban_recidive_bantime }}
# Evolix custom jails # Evolix custom jails
[wordpress-hard] [wordpress-hard]
enabled = {{ fail2ban_wordpress_hard }} enabled = {{ fail2ban_wordpress_hard }}
port = http, https port = http, https
filter = wordpress-hard filter = wordpress-hard
logpath = /var/log/auth.log logpath = /var/log/auth.log
@ -47,7 +47,7 @@ findtime = {{ fail2ban_wordpress_hard_findtime }}
bantime = {{ fail2ban_wordpress_hard_bantime }} bantime = {{ fail2ban_wordpress_hard_bantime }}
[wordpress-soft] [wordpress-soft]
enabled = {{ fail2ban_wordpress_soft }} enabled = {{ fail2ban_wordpress_soft }}
port = http, https port = http, https
filter = wordpress-soft filter = wordpress-soft
logpath = /var/log/auth.log logpath = /var/log/auth.log
@ -56,7 +56,7 @@ findtime = {{ fail2ban_wordpress_soft_findtime }}
bantime = {{ fail2ban_wordpress_soft_bantime }} bantime = {{ fail2ban_wordpress_soft_bantime }}
[roundcube] [roundcube]
enabled = {{ fail2ban_roundcube }} enabled = {{ fail2ban_roundcube }}
port = http, https port = http, https
filter = roundcube filter = roundcube
logpath = /var/lib/roundcube/logs/errors logpath = /var/lib/roundcube/logs/errors

View File

@ -1,27 +1,27 @@
# Ajoute UMask=0007 à l'unité systemd PHP-FPM du conteneur LXC # Ajoute UMask=0007 à l'unité systemd PHP-FPM du conteneur LXC
# dans /etc/systemd/system/phpX.X-fpm.service.d/evolinux.conf # dans /etc/systemd/system/phpX.X-fpm.service.d/evolinux.conf
--- ---
- name: "Définis le chemin du système de fichiers du conteneur LXC." - name: "Définis le chemin du système de fichiers du conteneur LXC."
set_fact: set_fact:
lxc_rootfs_path: "/var/lib/lxc/{{ lxc_php_version }}/rootfs" lxc_rootfs_path: "/var/lib/lxc/{{ lxc_php_version }}/rootfs"
- name: "Crée des répertoires (si absents) pour surcharger la config des services PHP dans les conteneurs LXC." - name: "Crée des répertoires (si absents) pour surcharger la config des services PHP dans les conteneurs LXC."
ansible.builtin.file: ansible.builtin.file:
path: "{{ lxc_rootfs_path }}/etc/systemd/system/{{ lxc_php_services[lxc_php_version] }}.d" path: "{{ lxc_rootfs_path }}/etc/systemd/system/{{ lxc_php_services[lxc_php_version] }}.d"
state: directory state: directory
register: systemd_path register: systemd_path
- name: "[Service] est présent dans la surchage des services PHP-FPM des conteneurs LXC." - name: "[Service] est présent dans la surchage des services PHP-FPM des conteneurs LXC."
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: "{{ systemd_path.path }}/evolinux.conf" path: "{{ systemd_path.path }}/evolinux.conf"
regex: "\\[Service\\]" regex: "\\[Service\\]"
line: "[Service]" line: "[Service]"
create: yes create: yes
- name: "UMask=0007 est présent dans la surchage des services PHP-FPM des conteneurs LXC." - name: "UMask=0007 est présent dans la surchage des services PHP-FPM des conteneurs LXC."
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: "{{ systemd_path.path }}/evolinux.conf" path: "{{ systemd_path.path }}/evolinux.conf"
regex: "^UMask=" regex: "^UMask="
line: "UMask=0007" line: "UMask=0007"
insertafter: "\\[Service\\]" insertafter: "\\[Service\\]"

View File

@ -9,7 +9,7 @@
- name: "Met-à-jour userlogrotate" - name: "Met-à-jour userlogrotate"
ansible.builtin.copy: ansible.builtin.copy:
src: userlogrotate src: userlogrotate
dest: "{{ item }}" dest: "{{ item }}"
mode: "0755" mode: "0755"
loop: "{{ find_logrotate.files }}" loop: "{{ find_logrotate.files }}"
when: find_logrotate.files | length>0 when: find_logrotate.files | length>0

View File

@ -1,5 +1,5 @@
--- ---
tomcat_instance_java_path: '/usr/lib/jvm/java-7-openjdk-amd64' tomcat_instance_java_path: '/usr/lib/jvm/java-7-openjdk-amd64'
tomcat_instance_root: '/srv/tomcat' tomcat_instance_root: '/srv/tomcat'
tomcat_instance_shutdown: "{{ tomcat_instance_port | int + 1 }}" tomcat_instance_shutdown: "{{ tomcat_instance_port | int + 1 }}"
tomcat_instance_mps: 256 tomcat_instance_mps: 256