Implemented variable for fresh configuration

This commit is contained in:
2024-01-06 14:31:02 +01:00
parent b909e87228
commit 68613545b2
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,12 @@
on_calendar: "{{on_calendar_backup_docker_to_local}}"
when: run_once_backup_docker_to_local is not defined
- name: "reset {{ backup_docker_to_local_folder }}databases.csv"
file:
path: "{{ backup_docker_to_local_folder }}databases.csv"
state: absent
when: reset_files | bool and run_once_backup_docker_to_local is not defined
- name: seed database values
command:
cmd: "python database_entry_seeder.py databases.csv {{database_instance}} {{database_databasename}} {{database_username}} {{database_password}}"