mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 06:01:04 +01:00
Compare commits
No commits in common. "db38b72373691b31a015e5698a1a04d350045b6d" and "b9973dd4bfea68e3277fb94dd5c848a961497e06" have entirely different histories.
db38b72373
...
b9973dd4bf
@ -66,9 +66,16 @@
|
||||
meta: flush_handlers
|
||||
when: setup | bool
|
||||
|
||||
- name: wait for database
|
||||
wait_for:
|
||||
host: 127.0.0.1
|
||||
port: "{{ http_port }}"
|
||||
delay: "{{database_delay}}"
|
||||
timeout: 300
|
||||
when: setup | bool
|
||||
|
||||
- name: execute database migration
|
||||
command:
|
||||
cmd: "docker compose -p mailu exec admin flask mailu admin admin {{top_domain}} {{mailu_initial_root_password}}"
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
ignore_errors: true
|
||||
when: setup | bool
|
@ -43,7 +43,7 @@
|
||||
host: 127.0.0.1
|
||||
port: 3306
|
||||
delay: "{{database_delay}}"
|
||||
timeout: 360
|
||||
timeout: 300
|
||||
when: run_once_docker_mariadb is not defined
|
||||
|
||||
- name: "Create database: {{ database_name }}"
|
||||
|
@ -32,7 +32,7 @@
|
||||
host: "127.0.0.1"
|
||||
port: "5432"
|
||||
delay: "{{database_delay}}"
|
||||
timeout: 360
|
||||
timeout: 300
|
||||
when: run_once_docker_postgres is not defined
|
||||
|
||||
- name: install python-psycopg2
|
||||
|
Loading…
Reference in New Issue
Block a user