diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-06-05 21:51:51 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-06-05 23:46:33 +0800 |
commit | cb3795a39882bb97c15ae5c9562faf577334399b (patch) | |
tree | 6bbd1d366b1e214bed87398ff7a1db102c607459 /resources/ansible_roles/qtip-generator/files/compute/setup.yml | |
parent | 0ce21bc2fc83faa3462de9fd52360cb0d6fae71d (diff) |
Beautify the argument names
- keep the argument consisten with OPNFV convention
- installer-ip is not used because in fact we use host address instead
- remove optional argurment from prompt
Change-Id: I3db3cf53b62cc86e143bc59a7dd8bb83d0f74b7d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/qtip-generator/files/compute/setup.yml')
-rw-r--r-- | resources/ansible_roles/qtip-generator/files/compute/setup.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/ansible_roles/qtip-generator/files/compute/setup.yml b/resources/ansible_roles/qtip-generator/files/compute/setup.yml index d165a9fe..d1ab2638 100644 --- a/resources/ansible_roles/qtip-generator/files/compute/setup.yml +++ b/resources/ansible_roles/qtip-generator/files/compute/setup.yml @@ -10,13 +10,13 @@ # Prepare connection to SUT (System Under Test) --- -{% if installer == 'manual' %} +{% if installer_type == 'manual' %} - hosts: localhost gather_facts: no tasks: - debug: "msg='please add hosts to SUT group in `hosts` file manually.'" {% else %} -- hosts: [{{ installer_master_group[installer] }}] +- hosts: [{{ installer_group[installer_type] }}] gather_facts: no roles: - { role: qtip, tasks: generate-inventory } |