From 15192cfeae1ff05c888aa0dab6ac1236646dba14 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Mon, 20 Nov 2017 20:36:51 +0100 Subject: space_server: radius: start radiusd we're online --- roles/space_server/tasks/radius.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.1