[constellation] Fix quotes

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-03-19 19:39:16 +01:00
parent 350f86263f
commit 09e3629d8a
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 13 additions and 14 deletions
roles/constellation
templates/constellation

View File

@ -56,17 +56,6 @@
group: "{{ constellation.group }}"
recurse: true
- name: Indicate constellation in motd
template:
src: update-motd.d/05-service.j2
dest: /etc/update-motd.d/05-constellation
mode: 0755
- name: Compile messages
django_manage:
command: compilemessages
project_path: "/var/local/constellation"
- name: Deploy Constellation settings_local.py
template:
src: constellation/settings_local.py.j2
@ -74,3 +63,14 @@
mode: 0660
owner: "{{ constellation.settings_local_owner }}"
group: "{{ constellation.settings_local_group }}"
- name: Compile messages
django_manage:
command: compilemessages
project_path: "/var/local/constellation"
- name: Indicate constellation in motd
template:
src: update-motd.d/05-service.j2
dest: /etc/update-motd.d/05-constellation
mode: 0755

View File

@ -1,8 +1,7 @@
# -*- mode: python; coding: utf-8 -*-
{{ ansible_header | comment }}
# A secret key used by the server.
SECRET_KEY = '{{ constellation.django_secret_key }}'
SECRET_KEY = "{{ constellation.django_secret_key }}"
# Should the server run in debug mode ?
# SECURITY WARNING: don't run with debug turned on in production!
@ -23,7 +22,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '{{ constellation.database.name }}',
'USER': '{{ constellation.database.user }}',
'PASSWORD': '{{ constellation.database.password }}',
'PASSWORD': "{{ constellation.database.password }}",
'HOST': '{{ constellation.database.host }}',
'PORT': '{{ constellation.database.port }}',
},