role-ara-api: only set up or restart a wsgi server if there's one defined
Change-Id: I28fc9f6578f19994c125a9c63fd5afbe926e31b0
This commit is contained in:
parent
c291f57e3a
commit
a4a3a0274b
@ -21,4 +21,6 @@
|
|||||||
service:
|
service:
|
||||||
name: ara-api
|
name: ara-api
|
||||||
state: restarted
|
state: restarted
|
||||||
when: ara_api_service_enabled is not changed
|
when:
|
||||||
|
- ara_api_wsgi_server is not none
|
||||||
|
- ara_api_service_enabled is not changed
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
- name: Include installation of the WSGI backend server
|
- name: Include installation of the WSGI backend server
|
||||||
include_tasks: "wsgi_server/{{ ara_api_wsgi_server }}.yaml"
|
include_tasks: "wsgi_server/{{ ara_api_wsgi_server }}.yaml"
|
||||||
|
when: ara_api_wsgi_server is not none
|
||||||
|
|
||||||
- name: Include installation of the frontend server
|
- name: Include installation of the frontend server
|
||||||
include_role:
|
include_role:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user