[constellation] Keep constellation up to date

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-03-25 00:26:53 +01:00
parent 3f033ad95e
commit 984d3ecb36
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@
pip: pip:
name: name:
- git+https://gitlab.adm.crans.org/nounous/constellation.git[front] - git+https://gitlab.adm.crans.org/nounous/constellation.git[front]
state: latest
- name: Install uWSGI - name: Install uWSGI
apt: apt:

View File

@ -69,11 +69,12 @@
version: "{{ constellation.version }}" version: "{{ constellation.version }}"
recursive: true recursive: true
- name: Install constellation (production) - name: Install and upgrade constellation (production)
when: constellation.version == "master" when: constellation.version == "master"
pip: pip:
name: name:
- git+https://gitlab.adm.crans.org/nounous/constellation.git - git+https://gitlab.adm.crans.org/nounous/constellation.git
state: latest
- name: Set owner of cloned project - name: Set owner of cloned project
when: constellation.version != "master" when: constellation.version != "master"