mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 10:51:27 +01:00 
			
		
		
		
	Update to 2023-04-11 15:00
This commit is contained in:
		| @@ -39,7 +39,7 @@ | ||||
|  | ||||
| - name: Dump the database | ||||
|   shell: > | ||||
|     /usr/pgsql-14/bin/pg_dump | ||||
|     /usr/pgsql-15/bin/pg_dump | ||||
|     --clean | ||||
|     --create | ||||
|     --host={{ metabase_db_server }} | ||||
|   | ||||
| @@ -98,7 +98,7 @@ | ||||
| - when: metabase_db_engine == 'postgres' | ||||
|   block: | ||||
|     - name: Install postgresql client | ||||
|       package: name=postgresql14 | ||||
|       package: name=postgresql15 | ||||
|  | ||||
|     - name: Create postgres user | ||||
|       postgresql_user: | ||||
|   | ||||
| @@ -13,7 +13,7 @@ set -eo pipefail | ||||
|   --quick --single-transaction \ | ||||
|   --add-drop-table {{ metabase_db_name | quote }} | zstd -c > {{ metabase_root_dir }}/backup/{{ metabase_db_name }}.sql.zst | ||||
| {% elif metabase_db_engine == 'postgres' %} | ||||
| PGPASSWORD={{ metabase_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \ | ||||
| PGPASSWORD={{ metabase_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \ | ||||
|   --clean \ | ||||
|   --create \ | ||||
|   --username={{ metabase_db_user }} \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud