mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Implemented variable for fresh configuration
This commit is contained in:
parent
b909e87228
commit
68613545b2
@ -1,4 +1,5 @@
|
|||||||
# General
|
# General
|
||||||
|
reset_files: false # Cleans up all CyMaIS files. It's necessary to run to whole playbook and not particial roles when using this function.
|
||||||
verbose: false # Prints well formated debug information
|
verbose: false # Prints well formated debug information
|
||||||
top_domain: "localhost" # Change this in inventory to your domain
|
top_domain: "localhost" # Change this in inventory to your domain
|
||||||
ip4_address: "127.0.0.1" # Change thie in inventory to the ip address of your server
|
ip4_address: "127.0.0.1" # Change thie in inventory to the ip address of your server
|
||||||
|
@ -41,6 +41,12 @@
|
|||||||
on_calendar: "{{on_calendar_backup_docker_to_local}}"
|
on_calendar: "{{on_calendar_backup_docker_to_local}}"
|
||||||
when: run_once_backup_docker_to_local is not defined
|
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
|
- name: seed database values
|
||||||
command:
|
command:
|
||||||
cmd: "python database_entry_seeder.py databases.csv {{database_instance}} {{database_databasename}} {{database_username}} {{database_password}}"
|
cmd: "python database_entry_seeder.py databases.csv {{database_instance}} {{database_databasename}} {{database_username}} {{database_password}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user