1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Merge branch 'fix-ansible' into 'master'

Fix ansible

See merge request bde/nk20!87
This commit is contained in:
ynerant 2020-08-01 16:42:17 +02:00
commit f38b9801d0
4 changed files with 8 additions and 4 deletions

View File

@ -2,6 +2,10 @@
---
- hosts: bde-nk20-beta.adh.crans.org
vars_prompt:
- name: DB_PASSWORD
prompt: "Password of the database"
private: yes
roles:
- 1-apt-basic
- 2-nk20

View File

@ -17,7 +17,7 @@
- name: Create role note
postgresql_user:
name: note
password: "CHANGE_ME"
password: "{{ DB_PASSWORD }}"
become_user: postgres
- name: Create NK20 database

View File

@ -9,7 +9,7 @@
command: /var/www/note_kfet/env/bin/python manage.py migrate
args:
chdir: /var/www/note_kfet
become_user: www-data
become_user: postgres
- name: Compile messages
command: /var/www/note_kfet/env/bin/python manage.py compilemessages
@ -21,4 +21,4 @@
command: /var/www/note_kfet/env/bin/python manage.py loaddata initial
args:
chdir: /var/www/note_kfet
become_user: www-data
become_user: postgres

@ -1 +1 @@
Subproject commit dd8b48c31d4501d95b3afb00ac9b387397fca957
Subproject commit e16629cc70c155e4d32244f80684295b459a8a59