mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Fix cache-clear for kube dev env
Missing conditional for when running in kube development environment
This commit is contained in:
@@ -75,7 +75,13 @@ stderr_logfile=/dev/stderr
|
|||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:awx-cache-clear]
|
[program:awx-cache-clear]
|
||||||
|
{% if kube_dev | bool %}
|
||||||
|
command = make cache_clear
|
||||||
|
directory = /awx_devel
|
||||||
|
{% else %}
|
||||||
command = awx-manage run_cache_clear
|
command = awx-manage run_cache_clear
|
||||||
|
directory = /var/lib/awx
|
||||||
|
{% endif %}
|
||||||
autorestart = true
|
autorestart = true
|
||||||
startsecs = 30
|
startsecs = 30
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
|
|||||||
Reference in New Issue
Block a user