evolinux-base: session timeout is configurable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6d73acc866
commit
0a3bfd7f27
|
@ -12,6 +12,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* evolinux-base: session timeout is configurable (default: 36000 seconds = 10 hours)
|
||||||
* haproxy: add haproxy_allow_ip_nonlocal_bind to set sysctl value (optional)
|
* haproxy: add haproxy_allow_ip_nonlocal_bind to set sysctl value (optional)
|
||||||
* openvpn: configure logrotate
|
* openvpn: configure logrotate
|
||||||
* kvm-host: fix depreciation of "drbd-overview" by "drbdadm status" in add-vm.sh
|
* 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_dirmode_adduser: True
|
||||||
evolinux_system_restrict_securetty: False
|
evolinux_system_restrict_securetty: False
|
||||||
evolinux_system_set_timeout: True
|
evolinux_system_set_timeout: True
|
||||||
|
evolinux_system_timeout: 36000
|
||||||
evolinux_system_cron_verboselog: True
|
evolinux_system_cron_verboselog: True
|
||||||
evolinux_system_cron_umask: True
|
evolinux_system_cron_umask: True
|
||||||
evolinux_system_cron_random: True
|
evolinux_system_cron_random: True
|
||||||
|
|
|
@ -77,7 +77,8 @@
|
||||||
- name: Setting TMOUT to disconnect inactive users
|
- name: Setting TMOUT to disconnect inactive users
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/profile.d/evolinux.sh
|
dest: /etc/profile.d/evolinux.sh
|
||||||
line: "export TMOUT=36000"
|
line: "export TMOUT={{ evolinux_system_timeout }}"
|
||||||
|
regexp: "^export TMOUT="
|
||||||
create: yes
|
create: yes
|
||||||
state: present
|
state: present
|
||||||
when: evolinux_system_set_timeout | bool
|
when: evolinux_system_set_timeout | bool
|
||||||
|
|
Loading…
Reference in a new issue