Upgrade RabbitMQ Server to 3.6.3

Change the default install version of RabbitMQ Server to 3.6.3.

The 3.6.3 Debian package adds support for systemd and no longer leaves a
rabbitmq-server process running for signal handling to the erlang VM.
The `pgrep` command checking that rabbitmq is running has been updated
to search entire process names to account for this change.

Change-Id: I742b03f64cd0232835b7143507e3d3cd14d79f23
This commit is contained in:
Jimmy McCrory 2016-07-09 18:49:22 -07:00
parent eb495e4d80
commit b42372bbc9
4 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@
- test-vars.yml - test-vars.yml
tasks: tasks:
- name: Check rabbitmq is running - name: Check rabbitmq is running
command: "pgrep rabbit" command: "pgrep -f rabbit"
delegate_to: "{{ item }}" delegate_to: "{{ item }}"
when: ansible_ssh_host == item when: ansible_ssh_host == item
with_items: with_items:

View File

@ -28,7 +28,7 @@
# Run tests # Run tests
- include: test-rabbitmq-server-functional.yml - include: test-rabbitmq-server-functional.yml
vars: vars:
rabbitmq_release_version: "3.6.2" rabbitmq_release_version: "3.6.3"
############################# UPGRADE TESTING ############################# ############################# UPGRADE TESTING #############################
@ -55,4 +55,4 @@
# Run tests # Run tests
- include: test-rabbitmq-server-functional.yml - include: test-rabbitmq-server-functional.yml
vars: vars:
rabbitmq_release_version: "3.6.2" rabbitmq_release_version: "3.6.3"

View File

@ -13,10 +13,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
_rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.2/rabbitmq-server_3.6.2-1_all.deb" _rabbitmq_package_url: "https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.3/rabbitmq-server_3.6.3-1_all.deb"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].split('_')[1] }}" _rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].split('_')[1] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}" _rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}"
_rabbitmq_package_sha256: "87217c0b135c6705f1d9ac2fcdbc355eeb3b0f53562c4f430e79861b0b7057b8" _rabbitmq_package_sha256: "ef9246311a553c74a9618daf4fe083c025b507ae5e3b1cd1de7ce4ac898b3262"
_rabbitmq_package_path: "/opt/rabbitmq-server.deb" _rabbitmq_package_path: "/opt/rabbitmq-server.deb"
rabbitmq_dependencies: rabbitmq_dependencies:

View File

@ -13,10 +13,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
_rabbitmq_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.2/rabbitmq-server-3.6.2-1.noarch.rpm" _rabbitmq_package_url: "https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.3/rabbitmq-server-3.6.3-1.noarch.rpm"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}" _rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].rsplit('.', 1)[0] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}" _rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[2] }}"
_rabbitmq_package_sha256: "ed07ebabcf6e4cd42b1d823b6a05b97458bcf265190dfec0c0a1f59495b1e80c" _rabbitmq_package_sha256: "b460873e7c7efe697b5c71b02c6304dee2060361abb3293f2c0b7c24a62def3f"
_rabbitmq_package_path: "/opt/rabbitmq-server.rpm" _rabbitmq_package_path: "/opt/rabbitmq-server.rpm"
rabbitmq_dependencies: rabbitmq_dependencies: