From d9113bb328757df189dbcf9ed52ea40f49fe9a03 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Thu, 16 May 2024 12:23:02 +0200 Subject: [PATCH] allow installing a specific openproject version --- defaults/main.yml | 4 ++++ tasks/main.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 6e54fb1..2d0e702 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -10,6 +10,10 @@ openproject_hold_package: false openproject_main_version: 13 +# you can set this to something like openproject=13.3.1-1709106543.9f5d5716.bookworm +# in order to force installation of a fixed version +openproject_package_name: openproject + openproject_server: hostname: "{{ inventory_hostname }}" autoinstall: install diff --git a/tasks/main.yml b/tasks/main.yml index c5517d0..3c570ac 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,7 @@ - name: install openproject ansible.builtin.apt: - name: openproject + name: "{{ openproject_package_name | default('openproject') }}" update_cache: true - name: set openproject package on hold