dhcp: run re2o service as root in cron / directly

This commit is contained in:
Yohaï-Eliel BERREBY 2020-09-13 17:54:46 +02:00
parent 6dd6168d2a
commit 91157d80c1

View file

@ -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: