mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-07 14:44:22 -07:00
* added splitting the command parameter for running
* added changelog fragment
* refactored variable names for improved readability
(cherry picked from commit b2bb7e3f9c
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
277329a6fe
commit
3f119aa9b6
4 changed files with 29 additions and 18 deletions
|
@ -121,3 +121,4 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = '/tmp/django-static'
|
||||
|
|
|
@ -48,3 +48,9 @@
|
|||
pythonpath: "{{ tmp_django_root.path }}/1045-single-app-project/"
|
||||
command: check
|
||||
virtualenv: "{{ tmp_django_root.path }}/venv"
|
||||
|
||||
- name: Run collectstatic --noinput on simple project
|
||||
community.general.django_manage:
|
||||
project_path: "{{ tmp_django_root.path }}/simple_project/p1"
|
||||
command: collectstatic --noinput
|
||||
virtualenv: "{{ tmp_django_root.path }}/venv"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue