b622c1486a
'Apply rabbitmq policies' requires rabbit to be started "stderr": "Error: this command requires the 'rabbit' app to be running on the target node. Start it with 'rabbitmqctl start_app'.\nArguments given:\n\t-q -n rabbit@infra1 list_policies -p / Change-Id: I585bca0b2a8f7061c1ab9adb417d0aa1f396ea88
23 lines
750 B
YAML
23 lines
750 B
YAML
---
|
|
# Copyright 2014, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- include_tasks: rabbitmq_stopped.yml
|
|
- include_tasks: rabbitmq_started.yml
|
|
|
|
- name: Wait for rabbitmq to be started
|
|
wait_for:
|
|
host: 0.0.0.0
|
|
port: 5672
|