Update to 2020-11-23 22:00

master
Daniel Berteaud 4 years ago
parent 117bee6615
commit 4ff50e8a97
  1. 21
      roles/radius_server/tasks/main.yml
  2. 6
      roles/radius_server/templates/radiusd.conf.j2
  3. 3
      roles/squid/files/acl/software_various.domains

@ -15,15 +15,32 @@
- modules
tags: radius
- name: Create radiusd unit snippet dir
file: path=/etc/systemd/system/radiusd.service.d/ state=directory
tags: radius
- name: Remove obsolete systemd unit override
file: path=/etc/systemd/system/radiusd.service state=absent
register: rad_old_unit
tags: radius
- name: Overwrite radiusd unit file
template: src=radiusd.service.j2 dest=/etc/systemd/system/radiusd.service
copy:
content: |
[Service]
ExecStartPre=
ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd
ExecStartPre=/usr/sbin/radiusd -C -d /etc/radius
ExecStart=
ExecStart=/usr/sbin/radiusd -d /etc/radius
dest: /etc/systemd/system/radiusd.service.d/99-ansible.conf
register: rad_unit
notify: restart radiusd
tags: radius
- name: Reload systemd
systemd: daemon_reload=True
when: rad_unit.changed
when: rad_unit.changed or rad_old_unit.changed
tags: radius
- name: Install client certificate checker script

@ -1,11 +1,15 @@
prefix = /usr
localstatedir = /var/lib/radiusd
logdir = /var/log/radius
run_dir = /run/radiusd
correct_escapes = true
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
hostname_lookups = no
log {
destination = stdout
destination = syslog
syslog_facility = daemon
colourise = yes
stripped_names = no
auth = yes

@ -325,3 +325,6 @@ tt-rss.org
# RPM Fusion
rpmfusion.org
download1.rpmfusion.org
# Composer
getcomposer.org

Loading…
Cancel
Save