mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Optimized mailu setup procedure
This commit is contained in:
		| @@ -69,13 +69,14 @@ | ||||
| - name: wait for database | ||||
|   wait_for: | ||||
|     host: 127.0.0.1 | ||||
|     port: "{{ http_port }}" | ||||
|     port: 3306 | ||||
|     delay: "{{database_delay}}" | ||||
|     timeout: 300 | ||||
|     timeout: 360 | ||||
|   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: 300 | ||||
|     timeout: 360 | ||||
|   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: 300 | ||||
|     timeout: 360 | ||||
|   when: run_once_docker_postgres is not defined   | ||||
|  | ||||
| - name: install python-psycopg2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user