mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Implemented new seeder function
This commit is contained in:
parent
52873c2e75
commit
b909e87228
@ -43,7 +43,7 @@
|
||||
|
||||
- name: seed database values
|
||||
command:
|
||||
cmd: "python database_entry_seeder.py databases.csv {{docker_compose_project_name}} {{database_host}} {{database_databasename}} {{database_username}} {{database_password}}"
|
||||
cmd: "python database_entry_seeder.py databases.csv {{database_instance}} {{database_databasename}} {{database_username}} {{database_password}}"
|
||||
chdir: "{{backup_docker_to_local_folder}}"
|
||||
when: >
|
||||
database_host is defined or
|
||||
|
@ -1,6 +1,6 @@
|
||||
docker_compose_instance_directory: "{{ path_docker_compose_instances + docker_compose_project_name + '/' }}"
|
||||
database_instance: "{{ 'central-' + database_type if enable_central_database else docker_compose_project_name }}"
|
||||
database_host: "{{ 'central-' + database_type if enable_central_database else 'database' }}"
|
||||
database_databasename: "{{ docker_compose_project_name }}"
|
||||
database_username: "{{ docker_compose_project_name }}"
|
||||
database_version: "{{ postgres_default_version }}"
|
||||
# This will lead to problems with bbb and openproject
|
||||
database_version: "{{ postgres_default_version }}"
|
Loading…
Reference in New Issue
Block a user