radius: enable service, fix details

This commit is contained in:
Yohaï-Eliel BERREBY 2020-05-21 19:25:30 +02:00
parent 8ce63d14b6
commit fe62055cdd
2 changed files with 11 additions and 4 deletions

View file

@ -28,7 +28,7 @@
# Radius (backup only for now)
- hosts: ~radius-(edc|fleming)-backup\.adm\.auro\.re
- hosts: ~radius-(edc|fleming|pacaterie).*
roles:
- radius

View file

@ -36,18 +36,18 @@
default_release: buster-backports
update_cache: yes
ignore_errors: yes
no_log: yes
- name: fix freeradius-python3 postinstall script
template:
src: freeradius-python3.postinst.j2
dest: /var/lib/dpkg/info/freeradius-python3.postinst
- name: reinstall broken backpage
- name: reinstall broken package (this might fail too, for different reasons)
apt:
name: freeradius-python3
default_release: buster-backports
force: yes
ignore_errors: yes
- name: Setup radius symlinks
file:
@ -93,7 +93,6 @@
dest: "/etc/logrotate.d/freeradius"
# Database setup
@ -203,3 +202,11 @@
publications:
- re2o_pub
become_user: postgres
- name: Restart freeradius, ensure enabled
systemd:
name: freeradius
enabled: yes
state: restarted
daemon_reload: yes