mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Replaced enable_central_database by configuration in application
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| database_instance:  "{{ 'central-' + database_type if enable_central_database | bool else application_id }}" | ||||
| database_host:      "{{ 'central-' + database_type if enable_central_database | bool else 'database' }}" | ||||
| database_instance:  "{{ 'central-' + database_type if applications[application_id].database.central_storage | bool else application_id }}" | ||||
| database_host:      "{{ 'central-' + database_type if applications[application_id].database.central_storage | bool else 'database' }}" | ||||
| database_name:      "{{ application_id }}" | ||||
| database_username:  "{{ application_id }}" | ||||
| database_port:      "{{ 3306 if database_type == 'mariadb' else 5432 }}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user