From eb66cf1f3d337f31e65a33e180bbe9ddd1a3f466 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 29 Jun 2017 15:33:07 +0100 Subject: [PATCH] SUSE: pin erlang packages Similar to Ie0c241de6a1a371969ed6e2886d6514c9419622f, we use 'zypper addlock' to pin the installed erlang packages. Change-Id: I2244d3c246d09b6c14929eda4dbb043a9d35aefd --- tasks/install_zypper.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/install_zypper.yml b/tasks/install_zypper.yml index 73202182..729f2e2c 100644 --- a/tasks/install_zypper.yml +++ b/tasks/install_zypper.yml @@ -62,6 +62,13 @@ - rabbitmq-package-rpm - rabbitmq-zypper-packages +- name: Lock version of erlang packages + command: zypper addlock erlang* + register: zypper_addlock_erlang + changed_when: "zypper_addlock_erlang.stdout.find('successfully added') != -1" + tags: + - rabbitmq-zypper-packages + # NOTE(hwoarang) on openSUSE, rabbitmq-server depends on epmd.service which # depends on epmd.socket which runs on localhost. It is just easier to let # the rabbitmq-server launch epmd directly since we are inside a container.