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 - modules
tags: radius 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 - 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 register: rad_unit
notify: restart radiusd notify: restart radiusd
tags: radius tags: radius
- name: Reload systemd - name: Reload systemd
systemd: daemon_reload=True systemd: daemon_reload=True
when: rad_unit.changed when: rad_unit.changed or rad_old_unit.changed
tags: radius tags: radius
- name: Install client certificate checker script - name: Install client certificate checker script

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

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

Loading…
Cancel
Save