evolinux-base: add /usr/share/scripts in root's PATH (Debian 10+)

This commit is contained in:
Jérémy Lecour 2019-10-30 14:32:24 +01:00 committed by Jérémy Lecour
parent 8679da4cb6
commit f2dacac139
2 changed files with 7 additions and 0 deletions

View file

@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
* evolinux-base: default value for "evolinux_ssh_group"
* evolinux-base: install /sbin/deny
* evolinux-base: on debian 10 and later, add noexec on /dev/shm
evolinux-base: on debian 10 and later, add /usr/share/scripts in root's PATH
* generate-ldif: support MariaDB 10.3
* haproxy: add a variable to keep the existing configuration
* listupgrade: install old-kernel-autoremoval script

View file

@ -37,6 +37,12 @@
regexp: "umask [0-9]+"
when: evolinux_root_umask
- name: "/usr/share/scripts" is present in root's PATH
lineinfile:
dest: "/root/.profile"
line: "PATH=\"${PATH}:/usr/share/scripts\""
when: ansible_distribution_major_version | version_compare('10', '>=')
- name: Custom git config for root
copy:
src: root/gitconfig