diff --git a/test/integration/targets/rabbitmq_user/aliases b/test/integration/targets/rabbitmq_user/aliases index 1248b88714c..c9a649c10c2 100644 --- a/test/integration/targets/rabbitmq_user/aliases +++ b/test/integration/targets/rabbitmq_user/aliases @@ -3,4 +3,3 @@ posix/ci/group1 skip/osx skip/freebsd skip/rhel -disabled diff --git a/test/integration/targets/setup_rabbitmq/tasks/ubuntu.yml b/test/integration/targets/setup_rabbitmq/tasks/ubuntu.yml index db7e7a9c460..41e116aa54f 100644 --- a/test/integration/targets/setup_rabbitmq/tasks/ubuntu.yml +++ b/test/integration/targets/setup_rabbitmq/tasks/ubuntu.yml @@ -1,5 +1,18 @@ --- +# https://www.rabbitmq.com/install-debian.html#apt-pinning +- name: Pin erlang version that rabbitmq supports + copy: + dest: /etc/apt/preferences.d/erlang + content: | + Package: erlang* + Pin: version 1:20.1-1 + Pin-Priority: 1000 + + Package: esl-erlang + Pin: version 1:20.1.7 + Pin-Priority: 1000 + - name: Install https transport for apt apt: name=apt-transport-https state=latest force=yes