Git Product home page Git Product logo

ansible-rabbitmq's Introduction

ansible-rabbitmq's People

Contributors

black-roland avatar dependabot[bot] avatar gaetanfl avatar gaima8 avatar mrlesmithjr avatar nklya avatar paulrbr-fl avatar userlocalhost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-rabbitmq's Issues

RabbitMQ Debian repository on bintray.com down

Describe the bug

The RabbitMQ Debian repository on bintray.com used per default by this role seems to be gone. Since a few days, the tasks to fetch the archive signing key fails:

fatal: [host]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failed to download key at https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq: HTTP Error 404: Not Found"}

According to https://www.rabbitmq.com/install-debian.html, upstream suggests repositories on cloudsmith and packagecloud.

Cleanup Code

Need to cleanup code/vars. Also need to add become: true on tasks which require it.

Fail when install epel-repos

In ansible 2.5.1 produce

TASK [mrlesmithjr.rabbitmq : redhat | installing pre-reqs] *********************
fatal: [test]: FAILED! => {"msg": "The conditional check 'result is successful' failed. The error was: template error while templating string: no test named 'successful'. String: {% if result is successful %} True {% else %} False {% endif %}"}

New release ?

Is your feature request related to a problem? Please describe.
Could you please provide a new version

Describe the solution you'd like
A new tag.

Describe alternatives you've considered

Additional context
We have an error to download key from Bintray
A new release with this feature could be helpful (#42)

Cannot install on Debian 11

Describe the bug
I run that Role on a clean Debian 11 and it seems like the package installation fails

The following packages have unmet dependencies:
 rabbitmq-server : Depends: erlang-base (< 1:25.0) but 1:25.2-1 is to be installed or
                            erlang-base-hipe (< 1:25.0) but it is not going to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-crypto (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-eldap (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-inets (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-mnesia (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-os-mon (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-parsetools (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-public-key (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-runtime-tools (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-ssl (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-syntax-tools (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-tools (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
                   Depends: erlang-xmerl (< 1:25.0) but 1:25.2-1 is to be installed or
                            esl-erlang (< 1:25.0) but it is not installable
cat /etc/apt/sources.list.d/dl_cloudsmith_io_public_rabbitmq_rabbitmq_*
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian bullseye main
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian bullseye main

Expected behavior
It works

FYI, `debian | add Rabbitmq erlang repo key` task is unnecessary

https://github.com/mrlesmithjr/ansible-rabbitmq/blob/master/tasks/debian.yml:

- name: debian | adding RabbitMQ public GPG key to the apt repo
  apt_key:
    url: "{{ rabbitmq_debian_repo_key }}"
    state: present
  become: true
  register: result
  until: result is successful

- name: debian | adding RabbitMQ repo
  ...

- name: debian | add Rabbitmq erlang repo key
  apt_key:
    url: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq-erlang
    state: present
  become: true
  register: result
  until: result is successful
when: rabbitmq_debian_erlang_from_rabbit

rabbitmq_debian_repo_key, which is the same url as the url for the debian | add Rabbitmq erlang repo key task (see https://github.com/mrlesmithjr/ansible-rabbitmq/blob/master/defaults/main.yml#L26) is already added to apt_key in the first task above; there is no point in conditionally checking whether the same key should be added again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.