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)
|
# Radius (backup only for now)
|
||||||
- hosts: ~radius-(edc|fleming)-backup\.adm\.auro\.re
|
- hosts: ~radius-(edc|fleming|pacaterie).*
|
||||||
roles:
|
roles:
|
||||||
- radius
|
- radius
|
||||||
|
|
||||||
|
|
|
@ -36,18 +36,18 @@
|
||||||
default_release: buster-backports
|
default_release: buster-backports
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
no_log: yes
|
|
||||||
|
|
||||||
- name: fix freeradius-python3 postinstall script
|
- name: fix freeradius-python3 postinstall script
|
||||||
template:
|
template:
|
||||||
src: freeradius-python3.postinst.j2
|
src: freeradius-python3.postinst.j2
|
||||||
dest: /var/lib/dpkg/info/freeradius-python3.postinst
|
dest: /var/lib/dpkg/info/freeradius-python3.postinst
|
||||||
|
|
||||||
- name: reinstall broken backpage
|
- name: reinstall broken package (this might fail too, for different reasons)
|
||||||
apt:
|
apt:
|
||||||
name: freeradius-python3
|
name: freeradius-python3
|
||||||
default_release: buster-backports
|
default_release: buster-backports
|
||||||
force: yes
|
force: yes
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Setup radius symlinks
|
- name: Setup radius symlinks
|
||||||
file:
|
file:
|
||||||
|
@ -93,7 +93,6 @@
|
||||||
dest: "/etc/logrotate.d/freeradius"
|
dest: "/etc/logrotate.d/freeradius"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Database setup
|
# Database setup
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,3 +202,11 @@
|
||||||
publications:
|
publications:
|
||||||
- re2o_pub
|
- re2o_pub
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
|
|
||||||
|
|
||||||
|
- name: Restart freeradius, ensure enabled
|
||||||
|
systemd:
|
||||||
|
name: freeradius
|
||||||
|
enabled: yes
|
||||||
|
state: restarted
|
||||||
|
daemon_reload: yes
|
||||||
|
|
Loading…
Reference in a new issue