diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-09 15:20:24 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-09 15:39:39 +0800 |
commit | 4155ef0c478c4eb5513439dabd5553bf389d1803 (patch) | |
tree | 21ffa06b5d708ac0d4da3c3a40db6259d2036a25 /qtip/ansible_library/modules/fuel.py | |
parent | 8c1e9c553cc6b4b8b78c31e7f5f48836c0d945e1 (diff) |
Fix bug in apex inventory
The default user for overcloud should be heat-admin
JIRA: QTIP-267
Change-Id: Ie868b1a925ca0eaa0292bdfb99d0e328e820f8aa
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/ansible_library/modules/fuel.py')
-rw-r--r-- | qtip/ansible_library/modules/fuel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtip/ansible_library/modules/fuel.py b/qtip/ansible_library/modules/fuel.py index 5ec45dd1..04154e34 100644 --- a/qtip/ansible_library/modules/fuel.py +++ b/qtip/ansible_library/modules/fuel.py @@ -98,7 +98,8 @@ def generate_inventory(nodes): 'ip': node['ip'], 'mac': node['mac'], 'cluster': cluster_id, - 'ansible_ssh_host': node['ip'] + 'ansible_ssh_host': node['ip'], + 'ansible_user': 'root' } hosts_meta[hostname] = node_meta |