aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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