forked from evolix/ansible-roles
evolinux-base: add /usr/share/scripts in root's PATH (Debian 10+)
This commit is contained in:
parent
8679da4cb6
commit
f2dacac139
|
@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* evolinux-base: default value for "evolinux_ssh_group"
|
* evolinux-base: default value for "evolinux_ssh_group"
|
||||||
* evolinux-base: install /sbin/deny
|
* 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 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
|
* generate-ldif: support MariaDB 10.3
|
||||||
* haproxy: add a variable to keep the existing configuration
|
* haproxy: add a variable to keep the existing configuration
|
||||||
* listupgrade: install old-kernel-autoremoval script
|
* listupgrade: install old-kernel-autoremoval script
|
||||||
|
|
|
@ -37,6 +37,12 @@
|
||||||
regexp: "umask [0-9]+"
|
regexp: "umask [0-9]+"
|
||||||
when: evolinux_root_umask
|
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
|
- name: Custom git config for root
|
||||||
copy:
|
copy:
|
||||||
src: root/gitconfig
|
src: root/gitconfig
|
||||||
|
|
Loading…
Reference in a new issue