Merge "Reload systemd after installing rabbitmq"

This commit is contained in:
Jenkins
2016年06月20日 00:41:53 +00:00
committed by Gerrit Code Review

View File

@@ -45,6 +45,7 @@
- name:Install the RabbitMQ package
apt:
deb:"{{ rabbitmq_package_path }}"
register:install_rabbitmq
tags:
- rabbitmq-package-deb
- rabbitmq-apt-packages

View File

@@ -37,6 +37,7 @@
- name:Install the RabbitMQ package
yum:
name:"{{ rabbitmq_package_path }}"
register:install_rabbitmq
tags:
- rabbitmq-package-rpm
- rabbitmq-yum-packages

View File

@@ -24,6 +24,18 @@
tags:
- always
- name:Check init system
command:cat /proc/1/comm
register:_pid1_name
tags:
- always
- name:Set the name of pid1
set_fact:
pid1_name:"{{ _pid1_name.stdout }}"
tags:
- always
- include:rabbitmq_pre_install.yml
# The install process will be skipped if `rabbitmq_ignore_version_state=true`

View File

@@ -27,6 +27,15 @@
tags:
- rabbitmq-yum-packages
- name:Reload the systemd daemon
command:"systemctl daemon-reload"
when:
- install_rabbitmq | changed
- pid1_name == "systemd"
tags:
- rabbitmq-apt-packages
- rabbitmq-yum-packages
- name:Install pip packages
pip:
name:"{{ item }}"
Reference in New Issue
openstack/openstack-ansible-rabbitmq_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.