diff --git a/roles/constellation-front/tasks/main.yml b/roles/constellation-front/tasks/main.yml index 727ba0be0dcbc04c3d7c398cb268ecaab0ade8c6..9880fd111a1da2d00c1d75a5b07f82a9cca9a789 100644 --- a/roles/constellation-front/tasks/main.yml +++ b/roles/constellation-front/tasks/main.yml @@ -39,6 +39,7 @@ pip: name: - git+https://gitlab.adm.crans.org/nounous/constellation.git[front] + state: latest - name: Install uWSGI apt: diff --git a/roles/constellation/tasks/main.yml b/roles/constellation/tasks/main.yml index 48aefa99294849ea0378b48d46d0ca7d71a9b6d2..2e2a415404b715efce2451d990b6e8a0e8801bfc 100644 --- a/roles/constellation/tasks/main.yml +++ b/roles/constellation/tasks/main.yml @@ -69,11 +69,12 @@ version: "{{ constellation.version }}" recursive: true -- name: Install constellation (production) +- name: Install and upgrade constellation (production) when: constellation.version == "master" pip: name: - git+https://gitlab.adm.crans.org/nounous/constellation.git + state: latest - name: Set owner of cloned project when: constellation.version != "master"