aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-18 01:49:17 +0000
committerSam Yaple <sam@yaple.net>2015-08-19 03:18:16 +0000
commit8d65921bc31d0ef1ba24bf2cae064f57cae01a9c (patch)
tree5589198285f7db2569855a3624dd99e76055fb07 /etc
parent718db54fa80bbd892670a7a5c1eca5ad991f53eb (diff)
downloadkolla-8d65921bc31d0ef1ba24bf2cae064f57cae01a9c.tar.gz
kolla-8d65921bc31d0ef1ba24bf2cae064f57cae01a9c.zip
Move defaults.yml to group_vars/all.yml
The purpose for having defaults.yml on the command line was originally for variable inheritance. Over the past month we have slowly changed how things are inherited (like ports) allowing us to place these 'defaults' into the group_vars/all.yml location as they should be values that go unchanged (but can be overridden). Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70 Partially-Implements: blueprint update-configs
Diffstat (limited to 'etc')
-rw-r--r--etc/kolla/defaults.yml58
-rw-r--r--etc/kolla/globals.yml14
2 files changed, 0 insertions, 72 deletions
diff --git a/etc/kolla/defaults.yml b/etc/kolla/defaults.yml
deleted file mode 100644
index 8b096cb0e..000000000
--- a/etc/kolla/defaults.yml
+++ /dev/null
@@ -1,58 +0,0 @@
----
-# The options in this file can be overridden in 'globals.yml', but typically
-# shouldn't be modified. A comment describing why the option exists should be
-# included before each option.
-
-# Ansible Docker module bug. This can be removed when Ansible 2.0 arrives
-# https://github.com/ansible/ansible-modules-core/issues/1227
-docker_api_version: "1.18"
-
-# TODO(SamYaple): remove references to these variables in Ansible
-kolla_directory: "/usr/share/kolla"
-koalla_directory: "/usr/share/kolla"
-
-# The "temp" files that are created before merge need to stay persistent due
-# to the fact that ansible will register a "change" if it has to create them
-# again. Persistent files allow for idempotency
-node_templates_directory: "/usr/share/kolla/templates"
-
-# The directory to store the config files on the destination node
-node_config_directory: "/opt/kolla/config"
-
-# All services have ports that need to be referenced on a global scale between
-# the different services. This prevents setting the ports in the defaults for
-# each role.
-
-mariadb_port: "3306"
-mariadb_wsrep_port: "4567"
-mariadb_ist_port: "4568"
-mariadb_sst_port: "4444"
-
-rabbitmq_port: "5672"
-rabbitmq_management_port: "15672"
-rabbitmq_cluster_port: "25672"
-rabbitmq_epmd_port: "4369"
-
-keystone_public_port: "5000"
-keystone_admin_port: "35357"
-
-glance_api_port: "9292"
-glance_registry_port: "9191"
-
-nova_api_port: "8774"
-nova_api_ec2_port: "8773"
-nova_metadata_port: "8775"
-
-neutron_server_port: "9696"
-
-cinder_api_port: "8776"
-
-# These roles are required for Kolla to be operation, however a savvy deployer
-# could disable some of these required roles and run thier own services.
-enable_glance: "yes"
-enable_haproxy: "yes"
-enable_keystone: "yes"
-enable_mariadb: "yes"
-enable_neutron: "yes"
-enable_nova: "yes"
-enable_rabbitmq: "yes"
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml
index ec78f1251..d31a1b617 100644
--- a/etc/kolla/globals.yml
+++ b/etc/kolla/globals.yml
@@ -74,20 +74,6 @@ openstack_logging_debug: "False"
openstack_region_name: "RegionOne"
-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