radius: enable service, fix details
This commit is contained in:
parent
8ce63d14b6
commit
fe62055cdd
2 changed files with 11 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
# Radius (backup only for now)
|
||||
- hosts: ~radius-(edc|fleming)-backup\.adm\.auro\.re
|
||||
- hosts: ~radius-(edc|fleming|pacaterie).*
|
||||
roles:
|
||||
- radius
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue