From 5e08e946370cff4f230d4b002628a99b02eee0d5 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 23 Aug 2022 14:34:45 +0300 Subject: [PATCH] Fix self-building for Postmoogle Before this, it was trying to pull the `latest` git branch. Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2043 --- roles/matrix-bot-postmoogle/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-bot-postmoogle/defaults/main.yml b/roles/matrix-bot-postmoogle/defaults/main.yml index c3b363f63..5272e2f2d 100644 --- a/roles/matrix-bot-postmoogle/defaults/main.yml +++ b/roles/matrix-bot-postmoogle/defaults/main.yml @@ -6,7 +6,7 @@ matrix_bot_postmoogle_enabled: true matrix_bot_postmoogle_container_image_self_build: false matrix_bot_postmoogle_docker_repo: "https://gitlab.com/etke.cc/postmoogle.git" -matrix_bot_postmoogle_docker_repo_version: "{{ matrix_bot_postmoogle_version }}" +matrix_bot_postmoogle_docker_repo_version: "{{ 'main' if matrix_bot_postmoogle_version == 'latest' else matrix_bot_postmoogle_version }}" matrix_bot_postmoogle_docker_src_files_path: "{{ matrix_base_data_path }}/postmoogle/docker-src" matrix_bot_postmoogle_version: latest