forked from infra/ansible
radius: fix symlinks that break with debian buster
This commit is contained in:
parent
a3675c0cc8
commit
133838e586
@ -42,5 +42,15 @@
|
|||||||
- sites-available/default
|
- sites-available/default
|
||||||
notify: Restart freeradius
|
notify: Restart freeradius
|
||||||
|
|
||||||
|
- name: Ensure sites-enabled directory exists
|
||||||
|
file: path=/etc/freeradius/3.0/sites-enabled state=directory owner=freerad group=freerad
|
||||||
|
|
||||||
|
- name: Ensure sites are symlinked
|
||||||
|
file: src=../sites-available/{{ item }} dest=/etc/freeradius/3.0/sites-enabled/{{ item }} state=link
|
||||||
|
with_items:
|
||||||
|
- default
|
||||||
|
- inner-tunnel
|
||||||
|
notify: Restart freeradius
|
||||||
|
|
||||||
- name: Start the radius server
|
- name: Start the radius server
|
||||||
service: name=freeradius state=started enabled=yes
|
service: name=freeradius state=started enabled=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user