[constellation] Fix quotes
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
							parent
							
								
									350f86263f
								
							
						
					
					
						commit
						09e3629d8a
					
				| 
						 | 
					@ -56,17 +56,6 @@
 | 
				
			||||||
    group: "{{ constellation.group }}"
 | 
					    group: "{{ constellation.group }}"
 | 
				
			||||||
    recurse: true
 | 
					    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
 | 
					- name: Deploy Constellation settings_local.py
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    src: constellation/settings_local.py.j2
 | 
					    src: constellation/settings_local.py.j2
 | 
				
			||||||
| 
						 | 
					@ -74,3 +63,14 @@
 | 
				
			||||||
    mode: 0660
 | 
					    mode: 0660
 | 
				
			||||||
    owner: "{{ constellation.settings_local_owner }}"
 | 
					    owner: "{{ constellation.settings_local_owner }}"
 | 
				
			||||||
    group: "{{ constellation.settings_local_group }}"
 | 
					    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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,7 @@
 | 
				
			||||||
# -*- mode: python; coding: utf-8 -*-
 | 
					 | 
				
			||||||
{{ ansible_header | comment }}
 | 
					{{ ansible_header | comment }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# A secret key used by the server.
 | 
					# 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 ?
 | 
					# Should the server run in debug mode ?
 | 
				
			||||||
# SECURITY WARNING: don't run with debug turned on in production!
 | 
					# SECURITY WARNING: don't run with debug turned on in production!
 | 
				
			||||||
| 
						 | 
					@ -23,7 +22,7 @@ DATABASES = {
 | 
				
			||||||
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
 | 
					        'ENGINE': 'django.db.backends.postgresql_psycopg2',
 | 
				
			||||||
        'NAME': '{{ constellation.database.name }}',
 | 
					        'NAME': '{{ constellation.database.name }}',
 | 
				
			||||||
        'USER': '{{ constellation.database.user }}',
 | 
					        'USER': '{{ constellation.database.user }}',
 | 
				
			||||||
        'PASSWORD': '{{ constellation.database.password }}',
 | 
					        'PASSWORD': "{{ constellation.database.password }}",
 | 
				
			||||||
        'HOST': '{{ constellation.database.host }}',
 | 
					        'HOST': '{{ constellation.database.host }}',
 | 
				
			||||||
        'PORT': '{{ constellation.database.port }}',
 | 
					        'PORT': '{{ constellation.database.port }}',
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue