yum: drop packaging workaround
The workaround for the missing unit file is no longer necessary as the fix has been merged upstream. This patch removes that extra change. Change-Id: I95c72e9ccb2a96f1956b0b4b8d82ec8d80b29fa9
This commit is contained in:
parent
8eca4a83b9
commit
aae0f5dbc0
|
@ -26,27 +26,3 @@
|
|||
tags:
|
||||
- rabbitmq-package-rpm
|
||||
- rabbitmq-yum-packages
|
||||
|
||||
# NOTE(hwoarang) on RedHat, 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.
|
||||
- name: Add rabbitmq-server systemd service (RedHat)
|
||||
template:
|
||||
src: "rabbitmq-server.service.j2"
|
||||
dest: "/etc/systemd/system/rabbitmq-server.service"
|
||||
register: rabbitmq_server_service_added
|
||||
# NOTE(hwoarang) Normally, this task should only be executed when
|
||||
# rabbitmq_install_method == 'distro'. However, the upstream package
|
||||
# does not contain a systemd file and as such we need to provide one.
|
||||
# This should be reverted once https://github.com/rabbitmq/rabbitmq-server-release/pull/31
|
||||
# is merged and new builds of rabbitmq-server are available.
|
||||
tags:
|
||||
- rabbitmq-config
|
||||
|
||||
- name: Reload the systemd daemon
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when:
|
||||
- rabbitmq_server_service_added is changed
|
||||
tags:
|
||||
- rabbitmq-config
|
||||
|
|
Loading…
Reference in New Issue