aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server')
-rw-r--r--roles/space_server/tasks/radius.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/space_server/tasks/radius.yml b/roles/space_server/tasks/radius.yml
index 9d494b3..b480d3f 100644
--- a/roles/space_server/tasks/radius.yml
+++ b/roles/space_server/tasks/radius.yml
@@ -96,6 +96,15 @@
creates: '/etc/systemd/system/timers.target.wants/getusers.timer'
when: "'container' in ansible_env"
+- name: Create service drop-in directory
+ file:
+ dest: '/etc/systemd/system/radiusd.service.d'
+ state: directory
+- name: Start radiusd after networks are configured
+ copy:
+ src: wait-online.conf
+ dest: '/etc/systemd/system/radiusd.service.d/wait-online.conf'
+
- name: Enable radiusd service
systemd:
name: radiusd.service