Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install latest rabbitmq on all OSes #302

Merged
merged 6 commits into from
Nov 23, 2021
Merged

Install latest rabbitmq on all OSes #302

merged 6 commits into from
Nov 23, 2021

Conversation

amanda11
Copy link
Contributor

Update the ansible installer to install latest rabbitmq from PackageCloud, rather than version bundled in OS.

@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Oct 21, 2021
@amanda11 amanda11 marked this pull request as draft October 21, 2021 17:03
@amanda11 amanda11 changed the title Install latest rabbitmq on all OSes [WIP] Install latest rabbitmq on all OSes Oct 21, 2021
@amanda11
Copy link
Contributor Author

Blocked until have GHA - see #297. As not happy to move until have the CI runs ran on all 3 OSes.

@amanda11 amanda11 changed the title [WIP] Install latest rabbitmq on all OSes Install latest rabbitmq on all OSes Nov 11, 2021
@amanda11 amanda11 marked this pull request as ready for review November 11, 2021 17:28
@@ -0,0 +1,59 @@
---

- name: RabbitMQ on RHEL8 requires module(perl:5.26)
Copy link
Member

@arm4b arm4b Nov 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering we moved to official RabbitMQ insructions (https://www.rabbitmq.com/install-rpm.html#package-cloud), is this perl requirement still a thing?
I see it's from the previous Ansible role.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@armab I took it out and install was fine, so no-longer required.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! 👍

Just left one minor comment to address.

gpgcheck: no
enabled: yes
sslverify: yes
when: ansible_facts.os_family == 'RedHat'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering the file is named rabbitmq_redhat.yml which is included conditionally depending on OS,
I think this line could be removed.

Suggested change
when: ansible_facts.os_family == 'RedHat'

gpgcheck: no
enabled: yes
sslverify: yes
when: ansible_facts.os_family == 'RedHat'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when: ansible_facts.os_family == 'RedHat'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@armab Good spot - will remove!

@amanda11 amanda11 merged commit a916226 into master Nov 23, 2021
@amanda11 amanda11 deleted the update_rabbitmq branch November 23, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement size/L PR that changes 100-499 lines. Requires some effort to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants