dhcp: run re2o service as root in cron / directly
This commit is contained in:
parent
6dd6168d2a
commit
91157d80c1
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue