evolinux-base: session timeout is configurable

lxc_etc-git
Jérémy Lecour 5 months ago committed by Jérémy Lecour
parent 6d73acc866
commit 0a3bfd7f27
  1. 1
      CHANGELOG.md
  2. 1
      evolinux-base/defaults/main.yml
  3. 3
      evolinux-base/tasks/system.yml

@ -12,6 +12,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Added
* evolinux-base: session timeout is configurable (default: 36000 seconds = 10 hours)
* haproxy: add haproxy_allow_ip_nonlocal_bind to set sysctl value (optional)
* openvpn: configure logrotate
* kvm-host: fix depreciation of "drbd-overview" by "drbdadm status" in add-vm.sh

@ -107,6 +107,7 @@ evolinux_system_profile: True
evolinux_system_dirmode_adduser: True
evolinux_system_restrict_securetty: False
evolinux_system_set_timeout: True
evolinux_system_timeout: 36000
evolinux_system_cron_verboselog: True
evolinux_system_cron_umask: True
evolinux_system_cron_random: True

@ -77,7 +77,8 @@
- name: Setting TMOUT to disconnect inactive users
lineinfile:
dest: /etc/profile.d/evolinux.sh
line: "export TMOUT=36000"
line: "export TMOUT={{ evolinux_system_timeout }}"
regexp: "^export TMOUT="
create: yes
state: present
when: evolinux_system_set_timeout | bool

Loading…
Cancel
Save