[task-230] [mod] tandoor: env-Variablen richtig setzen
This commit is contained in:
parent
9b473372db
commit
8ab3117ba8
1 changed files with 9 additions and 3 deletions
|
@ -58,8 +58,10 @@
|
|||
"name": "database",
|
||||
"become": true,
|
||||
"become_user": "{{var_tandoor_user}}",
|
||||
"environment": {
|
||||
"VIRTUAL_ENV": "{{var_tandoor_directory}}/program",
|
||||
},
|
||||
"ansible.builtin.shell": {
|
||||
"environment": "VIRTUAL_ENV={{var_tandoor_directory}}/program",
|
||||
"cmd": "bin/python3 manage.py migrate"
|
||||
}
|
||||
},
|
||||
|
@ -67,8 +69,10 @@
|
|||
"name": "static files",
|
||||
"become": true,
|
||||
"become_user": "{{var_tandoor_user}}",
|
||||
"environment": {
|
||||
"VIRTUAL_ENV": "{{var_tandoor_directory}}/program",
|
||||
},
|
||||
"ansible.builtin.shell": {
|
||||
"environment": "VIRTUAL_ENV={{var_tandoor_directory}}/program",
|
||||
"cmd": "bin/python3 manage.py collectstatic --no-input"
|
||||
}
|
||||
},
|
||||
|
@ -76,8 +80,10 @@
|
|||
"name": "static files",
|
||||
"become": true,
|
||||
"become_user": "{{var_tandoor_user}}",
|
||||
"environment": {
|
||||
"VIRTUAL_ENV": "{{var_tandoor_directory}}/program",
|
||||
},
|
||||
"ansible.builtin.shell": {
|
||||
"environment": "VIRTUAL_ENV={{var_tandoor_directory}}/program",
|
||||
"cmd": "bin/python3 manage.py collectstatic_js_reverse"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue