diff --git a/roles/isc-dhcp-server/tasks/main.yml b/roles/isc-dhcp-server/tasks/main.yml index 2d54921..93b347e 100644 --- a/roles/isc-dhcp-server/tasks/main.yml +++ b/roles/isc-dhcp-server/tasks/main.yml @@ -59,7 +59,7 @@ day: "*" weekday: "*" month: "*" - user: re2o-services + user: root job: "/usr/bin/python3 /var/local/re2o-services/dhcp/main.py" - name: Configure /etc/default/isc-dhcp-server @@ -102,7 +102,6 @@ - name: force run dhcp re2o-service shell: /var/local/re2o-services/dhcp/main.py --force - become_user: re2o-services - name: Ensure dhcpd is running service: