This commit is contained in:
parent
dafe0aec0f
commit
cedf74c4b6
@ -14,7 +14,7 @@ drone_db_host: 127.0.0.1:5432
|
|||||||
drone_db_name: drone
|
drone_db_name: drone
|
||||||
drone_db_user: drone
|
drone_db_user: drone
|
||||||
drone_db_password: lel
|
drone_db_password: lel
|
||||||
drone_SQl_target_file: /sql/save/path/drone.sql
|
drone_SQL_target_file: /sql/save/path/drone.sql
|
||||||
|
|
||||||
drone_port:
|
drone_port:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
@ -29,6 +29,6 @@
|
|||||||
postgresql_db:
|
postgresql_db:
|
||||||
name: "{{ drone_db_name }}"
|
name: "{{ drone_db_name }}"
|
||||||
state: restore
|
state: restore
|
||||||
target: "{{ drone_SQl_target_file }}"
|
target: "{{ drone_SQL_target_file }}"
|
||||||
register: drone_database_import
|
register: drone_database_import
|
||||||
when: drone_database_creation.changed == true and drone_SQL_target_file_stat.stat.exists == true
|
when: drone_database_creation.changed == true and drone_SQL_target_file_stat.stat.exists == true
|
||||||
|
Loading…
Reference in New Issue
Block a user