ODCS: Try to use service module instead of systemd module to fix disabled odcs-celery-backend.
This commit is contained in:
parent
67c7186a2e
commit
0e730e9f9c
1 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@
|
|||
- odcs/frontend
|
||||
|
||||
- name: enable ODCS backend (odcs-celery-backend)
|
||||
systemd:
|
||||
service:
|
||||
name: odcs-celery-backend
|
||||
enabled: yes
|
||||
when: inventory_hostname.startswith('odcs-backend')
|
||||
|
@ -253,7 +253,7 @@
|
|||
- odcs/backend
|
||||
|
||||
- name: enable ODCS beat (odcs-celery-beat)
|
||||
systemd:
|
||||
service:
|
||||
name: odcs-celery-beat
|
||||
enabled: yes
|
||||
when: inventory_hostname.startswith('odcs-frontend')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue