aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2015-09-09 11:56:44 +0100
committerPaul Bourke <paul.bourke@oracle.com>2015-09-09 11:56:44 +0100
commit226dde89acae5da3f5fde9908844d7bf7cf98ad7 (patch)
treeea58d6f71348d4c3b1a82f0ff03d34150d13cf9b
parent539862aeb0a0a6accc2dfc67576cc4355d44fc0a (diff)
downloadkolla-226dde89acae5da3f5fde9908844d7bf7cf98ad7.tar.gz
kolla-226dde89acae5da3f5fde9908844d7bf7cf98ad7.zip
Change default ansible_ssh_user to "kolla"
Chnage to "kolla", and set in globals to easily apply to all nodes. DocImpact Closes-Bug: #1493801 Change-Id: I6cd53be9f542dbcbd3f1459bc5fc2721d56c5022
-rw-r--r--ansible/group_vars/all.yml3
-rw-r--r--ansible/inventory/multinode8
2 files changed, 7 insertions, 4 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index 34985a059..79b0a4f9e 100644
--- a/ansible/group_vars/all.yml
+++ b/ansible/group_vars/all.yml
@@ -13,6 +13,9 @@ node_templates_directory: "/usr/share/kolla/templates"
# The directory to store the config files on the destination node
node_config_directory: "/etc/kolla"
+# The user Ansible uses to ssh to target nodes
+ansible_ssh_user: "kolla"
+
###################
# Kolla options
diff --git a/ansible/inventory/multinode b/ansible/inventory/multinode
index 1d4e1fb7f..0f39ee901 100644
--- a/ansible/inventory/multinode
+++ b/ansible/inventory/multinode
@@ -2,12 +2,12 @@
# additional groups are for more control of the environment.
[control]
# These hostname must be resolvable from your deployment host
-control01 ansible_ssh_user=sam
-control02 ansible_ssh_user=sam
-control03 ansible_ssh_user=sam
+control01
+control02
+control03
# The above can also be specified as follows:
-#control[01:03] ansible_ssh_user=sam
+#control[01:03] ansible_ssh_user=kolla
# The network nodes are where your l3-agent and loadbalancers will run
# This can be the same as a a host in the control group