diff --git a/ansible/roles/bpp-site/defaults/main.yml b/ansible/roles/bpp-site/defaults/main.yml index bebab1b..9d3d062 100644 --- a/ansible/roles/bpp-site/defaults/main.yml +++ b/ansible/roles/bpp-site/defaults/main.yml @@ -1,4 +1,5 @@ --- +django_package_name: "bpp-iplweb" django_user: bpp django_project_name: django_bpp diff --git a/ansible/roles/bpp-site/tasks/main.yml b/ansible/roles/bpp-site/tasks/main.yml index 2beb213..a9eedf3 100644 --- a/ansible/roles/bpp-site/tasks/main.yml +++ b/ansible/roles/bpp-site/tasks/main.yml @@ -77,7 +77,7 @@ tags: ['config'] - name: Instalacja pakietu BPP (to może chwilę potrwać...) - command: "{{ django_home_dir }}/vexec pip install --upgrade --pre bpp-iplweb" + command: "{{ django_home_dir }}/vexec pip install --upgrade --pre {{ django_package_name }}" # Ponizsze bylo uzywane przy instalacji z prywatnego repo # --extra-index-url http://dev.iplweb.pl:8080/ --trusted-host dev.iplweb.pl become: yes