Instead of registering a handler to run when the database is created, register a variable and check it immediately to run the schema import. This avoids a problem where an error between database creation and schema import 1) leaves the server in a broken state, and 2) rerunning the playbook doesn't fix it.
|
||
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 |
|
|
23 |
|
|
24 |
|
|
||
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
43 | 47 |
|
44 | 48 |
|
45 | 49 |
|