converted keystone to use repo packges
This commit is contained in:
parent
9df15a38e7
commit
2f7998c157
@ -53,23 +53,6 @@ system_user: keystone
|
|||||||
system_group: keystone
|
system_group: keystone
|
||||||
|
|
||||||
|
|
||||||
## Git Source
|
|
||||||
git_repo: https://git.openstack.org/openstack/keystone
|
|
||||||
git_fallback_repo: https://github.com/openstack/keystone
|
|
||||||
git_etc_example: etc/
|
|
||||||
git_install_branch: 7c2bee76936461043671adc6d100f20775c4212f
|
|
||||||
|
|
||||||
# Common PIP Packages
|
|
||||||
service_pip_dependencies:
|
|
||||||
- repoze.lru
|
|
||||||
- pbr
|
|
||||||
- MySQL-python
|
|
||||||
- pycrypto
|
|
||||||
- python-memcached
|
|
||||||
- pycrypto
|
|
||||||
- python-keystoneclient
|
|
||||||
|
|
||||||
|
|
||||||
## Enable SSL
|
## Enable SSL
|
||||||
keystone_ssl: false
|
keystone_ssl: false
|
||||||
|
|
||||||
@ -85,16 +68,3 @@ container_directories:
|
|||||||
- /var/lib/keystone
|
- /var/lib/keystone
|
||||||
- /var/log/keystone
|
- /var/log/keystone
|
||||||
- /var/www/cgi-bin/keystone
|
- /var/www/cgi-bin/keystone
|
||||||
|
|
||||||
container_packages:
|
|
||||||
- libsasl2-dev
|
|
||||||
- debhelper
|
|
||||||
- dh-apparmor
|
|
||||||
- docutils-common
|
|
||||||
- libjs-sphinxdoc
|
|
||||||
- libjs-underscore
|
|
||||||
- libxslt1.1
|
|
||||||
- libldap2-dev
|
|
||||||
- apache2
|
|
||||||
- apache2-utils
|
|
||||||
- libapache2-mod-wsgi
|
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
- inventory/group_vars/neutron_all.yml
|
- inventory/group_vars/neutron_all.yml
|
||||||
- vars/openstack_service_vars/neutron_server_endpoint.yml
|
- vars/openstack_service_vars/neutron_server_endpoint.yml
|
||||||
|
|
||||||
|
|
||||||
## Nova
|
## Nova
|
||||||
- hosts: keystone[0]
|
- hosts: keystone[0]
|
||||||
user: root
|
user: root
|
||||||
|
18
rpc_deployment/playbooks/openstack/keystone-all.yml
Normal file
18
rpc_deployment/playbooks/openstack/keystone-all.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
# 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: keystone-common.yml
|
||||||
|
- include: keystone.yml
|
||||||
|
- include: keystone-add-all-services.yml
|
29
rpc_deployment/playbooks/openstack/keystone-common.yml
Normal file
29
rpc_deployment/playbooks/openstack/keystone-common.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
- hosts: keystone
|
||||||
|
user: root
|
||||||
|
roles:
|
||||||
|
- common
|
||||||
|
- common_sudoers
|
||||||
|
- container_common
|
||||||
|
- keystone_common
|
||||||
|
- openstack_common
|
||||||
|
- openstack_openrc
|
||||||
|
- galera_client_cnf
|
||||||
|
vars_files:
|
||||||
|
- vars/repo_packages/keystone.yml
|
||||||
|
- vars/config_vars/keystone_config.yml
|
||||||
|
- vars/openstack_service_vars/keystone.yml
|
@ -13,21 +13,6 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
# This playbook deploys Keystone-API.
|
|
||||||
- hosts: keystone
|
|
||||||
user: root
|
|
||||||
roles:
|
|
||||||
- common
|
|
||||||
- common_sudoers
|
|
||||||
- container_common
|
|
||||||
- keystone_common
|
|
||||||
- openstack_common
|
|
||||||
- openstack_openrc
|
|
||||||
- galera_client_cnf
|
|
||||||
vars_files:
|
|
||||||
- vars/config_vars/keystone_config.yml
|
|
||||||
- vars/openstack_service_vars/keystone.yml
|
|
||||||
|
|
||||||
# Setup Keystone
|
# Setup Keystone
|
||||||
- hosts: keystone[0]
|
- hosts: keystone[0]
|
||||||
user: root
|
user: root
|
||||||
@ -39,6 +24,7 @@
|
|||||||
vars:
|
vars:
|
||||||
auth_admin_uri: "{{ auth_protocol }}://{{ container_address }}:{{ auth_port }}/v2.0"
|
auth_admin_uri: "{{ auth_protocol }}://{{ container_address }}:{{ auth_port }}/v2.0"
|
||||||
vars_files:
|
vars_files:
|
||||||
|
- vars/repo_packages/keystone.yml
|
||||||
- vars/openstack_service_vars/keystone.yml
|
- vars/openstack_service_vars/keystone.yml
|
||||||
- vars/openstack_service_vars/keystone_endpoint.yml
|
- vars/openstack_service_vars/keystone_endpoint.yml
|
||||||
|
|
||||||
@ -48,4 +34,5 @@
|
|||||||
roles:
|
roles:
|
||||||
- keystone_apache
|
- keystone_apache
|
||||||
vars_files:
|
vars_files:
|
||||||
|
- vars/repo_packages/keystone.yml
|
||||||
- vars/openstack_service_vars/keystone.yml
|
- vars/openstack_service_vars/keystone.yml
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
- hosts: keystone_all:glance_all:heat_all:nova_all:cinder_all
|
- hosts: glance_all:heat_all:nova_all:cinder_all
|
||||||
user: root
|
user: root
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- include: openstack-common.yml
|
- include: openstack-common.yml
|
||||||
- include: keystone.yml
|
- include: keystone-all.yml
|
||||||
- include: keystone-add-all-services.yml
|
|
||||||
- include: glance-all.yml
|
- include: glance-all.yml
|
||||||
- include: heat-all.yml
|
- include: heat-all.yml
|
||||||
- include: nova-all.yml
|
- include: nova-all.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user