summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2018-04-26 02:04:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-26 02:04:54 +0000
commit2ea488b1df9eee441b41e81f1fbdb10dfb3817b0 (patch)
tree6df0cb51502c0ef784a6d1207798d53dc4b461ff
parentfc7f81481982966ab9260534d815cfda272b8d44 (diff)
parent170842f20426ad244f3e49b3780b0256302b0be3 (diff)
Merge "Bugfix: ansible can't not run without config"
-rw-r--r--yardstick/common/ansible_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/common/ansible_common.py b/yardstick/common/ansible_common.py
index 38d2dd7c2..ca5a110e2 100644
--- a/yardstick/common/ansible_common.py
+++ b/yardstick/common/ansible_common.py
@@ -514,7 +514,7 @@ class AnsibleCommon(object):
parser.add_section('defaults')
parser.set('defaults', 'host_key_checking', 'False')
- cfg_path = os.path.join(directory, 'setup.cfg')
+ cfg_path = os.path.join(directory, 'ansible.cfg')
with open(cfg_path, 'w') as f:
parser.write(f)