aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-08-19 10:25:32 +0000
committerGerrit Code Review <review@openstack.org>2015-08-19 10:25:32 +0000
commit41fabba084d9f445ed642f72e72ed205d67313c4 (patch)
tree528847c93c0c6f8a34a460d1a05185cac84f4681 /ansible
parentbd5e5bbb64b20eb4c77c2a941973845d847e9d78 (diff)
parent8d65921bc31d0ef1ba24bf2cae064f57cae01a9c (diff)
downloadkolla-41fabba084d9f445ed642f72e72ed205d67313c4.tar.gz
kolla-41fabba084d9f445ed642f72e72ed205d67313c4.zip
Merge "Move defaults.yml to group_vars/all.yml"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all.yml75
1 files changed, 75 insertions, 0 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
new file mode 100644
index 000000000..0d0100d8a
--- /dev/null
+++ b/ansible/group_vars/all.yml
@@ -0,0 +1,75 @@
+---
+# 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"
+
+
+# Openstack authentication strings. You should only need to adjust these if you
+# are changing the admin tenant/project or user.
+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"