aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/group_vars/all.yml (renamed from etc/kolla/defaults.yml)17
-rw-r--r--etc/kolla/globals.yml14
-rwxr-xr-xtools/kolla-ansible2
3 files changed, 18 insertions, 15 deletions
diff --git a/etc/kolla/defaults.yml b/ansible/group_vars/all.yml
index 8b096cb0e..0d0100d8a 100644
--- a/etc/kolla/defaults.yml
+++ b/ansible/group_vars/all.yml
@@ -56,3 +56,20 @@ 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"
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
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index 43341788d..abfe433fb 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -70,7 +70,7 @@ case "$1" in
(deploy)
ACTION="Deploying Playbook"
- CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/defaults.yml -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK"
+ CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK"
;;
(*) usage