Refactored docker rroles dto use new role docker-compose

This commit is contained in:
2023-12-30 16:49:37 +01:00
parent f70a7690a8
commit 3fa052f71d
79 changed files with 161 additions and 300 deletions

View File

@@ -43,10 +43,10 @@
- name: seed database values
command:
cmd: "python database_entry_seeder.py databases.csv {{database_instance}} {{database_host}} {{database_databasename}} {{database_username}} {{database_password}}"
cmd: "python database_entry_seeder.py databases.csv {{docker_compose_project_name}} {{database_host}} {{database_databasename}} {{database_username}} {{database_password}}"
chdir: "{{backup_docker_to_local_folder}}"
when: >
database_instance is defined or
docker_compose_project_name is defined or
database_host is defined or
database_databasename is defined or
database_username is defined or
@@ -59,7 +59,7 @@
owner: root
group: root
when: >
(database_instance is defined or
(docker_compose_project_name is defined or
database_host is defined or
database_databasename is defined or
database_username is defined or