Remove the messaging tasks from the role
This change removes the messageing tasks from this role because they will be relocated into the play in OpenStack-Ansible. Change-Id: Ied0ae67b2ed0ffc782f7e86911a2060328d9184d Depends-On: I3016039692d8130654fe1bff422f24ef2afc196e Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
43ad4d68a1
commit
18e2417214
@ -1,37 +0,0 @@
|
||||
---
|
||||
# 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.
|
||||
|
||||
- name: Ensure Rabbitmq vhost
|
||||
rabbitmq_vhost:
|
||||
name: "{{ nova_rabbitmq_vhost }}"
|
||||
state: "present"
|
||||
delegate_to: "{{ groups['rabbitmq_all'][0] }}"
|
||||
tags:
|
||||
- nova-rabbitmq
|
||||
- nova-rabbitmq-vhost
|
||||
|
||||
- name: Ensure rabbitmq user
|
||||
rabbitmq_user:
|
||||
user: "{{ nova_rabbitmq_userid }}"
|
||||
password: "{{ nova_rabbitmq_password }}"
|
||||
vhost: "{{ nova_rabbitmq_vhost }}"
|
||||
configure_priv: ".*"
|
||||
read_priv: ".*"
|
||||
write_priv: ".*"
|
||||
state: "present"
|
||||
delegate_to: "{{ groups['rabbitmq_all'][0] }}"
|
||||
tags:
|
||||
- nova-rabbitmq
|
||||
- nova-rabbitmq-user
|
@ -109,6 +109,13 @@
|
||||
- nova-dirs
|
||||
- nova-logs
|
||||
|
||||
- include: nova_messaging_setup.yml
|
||||
when: >
|
||||
inventory_hostname == groups['nova_all'][0]
|
||||
- name: Drop sudoers file
|
||||
template:
|
||||
src: "sudoers.j2"
|
||||
dest: "/etc/sudoers.d/{{ nova_system_user_name }}_sudoers"
|
||||
mode: "0440"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
tags:
|
||||
- sudoers
|
||||
- nova-sudoers
|
||||
|
Loading…
x
Reference in New Issue
Block a user