05a6640a0f
Due to the licensing issues and the modules not existing in upstream Ansible yet, I have written a simple module to fill the gaps. This also uses Keystone v2.0 for all create of users, roles and endpoints. The implementation of Keystone v3 must be discussed after the new modules arrive. Partially-Implements: blueprint ansible-service Change-Id: I389edd56741360dd26fbbc0a982f365ca27ff446
94 lines
2.3 KiB
YAML
94 lines
2.3 KiB
YAML
---
|
|
# Please specify all passwords/secrets in the "/etc/kolla/passwords.yml"
|
|
|
|
###################
|
|
# Kolla options
|
|
###################
|
|
config_strategy: "CONFIG_EXTERNAL_COPY_ONCE"
|
|
|
|
kolla_base_distro: "centos"
|
|
kolla_install_type: "rdo"
|
|
|
|
# The Public address used to communicate with Openstack
|
|
# This must be set, but it can be an private ip. It can also be the same as the
|
|
# internal address.
|
|
kolla_external_address: "openstack.example.com"
|
|
kolla_internal_address: "10.10.10.254"
|
|
|
|
|
|
####################
|
|
# Database options
|
|
####################
|
|
database_address: "{{ kolla_internal_address }}"
|
|
database_user: "root"
|
|
|
|
|
|
####################
|
|
# Docker options
|
|
####################
|
|
docker_registry:
|
|
docker_namespace: "kollaglue"
|
|
docker_registry_username:
|
|
docker_insecure_registry: "False"
|
|
|
|
# Valid options are [ missing, always ]
|
|
docker_pull_policy: "always"
|
|
|
|
# Valid options are [ no, on-failure, always ]
|
|
docker_restart_policy: "always"
|
|
|
|
# '0' means unlimited retries
|
|
docker_restart_policy_retry: "10"
|
|
|
|
### Example: Private repository with authentication
|
|
#
|
|
# docker_registry: "172.16.0.10:5000"
|
|
# docker_namespace: "companyname"
|
|
# docker_registry_username: "sam"
|
|
# docker_registry_password: "correcthorsebatterystaple"
|
|
# docker_insecure_registry: "False"
|
|
|
|
|
|
####################
|
|
# Networking options
|
|
####################
|
|
# The interface to use for various services types
|
|
network_interface: "eth0"
|
|
|
|
# These can be adjusted for even more customization
|
|
api_interface: "{{ network_interface }}"
|
|
storage_interface: "{{ network_interface }}"
|
|
neutron_interface: "{{ network_interface }}"
|
|
|
|
|
|
####################
|
|
# Openstack options
|
|
####################
|
|
openstack_release: "latest"
|
|
openstack_logging_verbose: "True"
|
|
openstack_logging_debug: "False"
|
|
|
|
openstack_region_name: "RegionOne"
|
|
keystone_public_port: "5000"
|
|
keystone_admin_port: "35357"
|
|
|
|
openstack_auth:
|
|
auth_url: "http://{{ kolla_internal_address }}:{{ keystone_admin_port }}"
|
|
username: "admin"
|
|
password: "{{ keystone_admin_password }}"
|
|
project_name: "admin"
|
|
|
|
# This shouldn't be needed for long. It is only temporary until we get the
|
|
# ansible modules sorted out
|
|
openstack_auth_v2:
|
|
auth_url: "http://{{ kolla_internal_address }}:{{ keystone_admin_port }}/v2.0"
|
|
username: "admin"
|
|
password: "{{ keystone_admin_password }}"
|
|
project_name: "admin"
|
|
|
|
|
|
####################
|
|
# RabbitMQ options
|
|
####################
|
|
rabbitmq_user: "openstack"
|