Add openstack_node option
The option allows user to customize the node the role will be executed on. Change-Id: I3ff7676741cb4f2432bc6b80bd29907d1fb633e0
This commit is contained in:
parent
1c2c574b92
commit
acef3bf37b
@ -24,6 +24,7 @@ deployment is working by passing refstack tests.
|
|||||||
| dest_dir * | False | pwd | String | Local directory where the artifact files will be stored. |
|
| dest_dir * | False | pwd | String | Local directory where the artifact files will be stored. |
|
||||||
| download_artifacts | False | False | Bool | Whether artifacts should be downloaded to the host or not. They will be downloaded to dest_dir location.|
|
| download_artifacts | False | False | Bool | Whether artifacts should be downloaded to the host or not. They will be downloaded to dest_dir location.|
|
||||||
| guideline | False | 2021.11 | String | Specific refstack guideline. |
|
| guideline | False | 2021.11 | String | Specific refstack guideline. |
|
||||||
|
| openstack_node | False | tester | String | OpenStack node ansible-role-refstack-client will be executed on. |
|
||||||
| private_key_path_src | False | None | String | If defined, the key defined by the param is copied to the targeted machine to private_key_path location. Variable contains either a local path (the path on a machine, the playbook is executed from) or link to remote location from which the key will be downloaded.|
|
| private_key_path_src | False | None | String | If defined, the key defined by the param is copied to the targeted machine to private_key_path location. Variable contains either a local path (the path on a machine, the playbook is executed from) or link to remote location from which the key will be downloaded.|
|
||||||
| refstack_client_source | False | ~/.refstack-client | String | Destination where refstack-client will be cloned only if the dir doesn't exist or it's empty, otherwise it will be used as is.|
|
| refstack_client_source | False | ~/.refstack-client | String | Destination where refstack-client will be cloned only if the dir doesn't exist or it's empty, otherwise it will be used as is.|
|
||||||
| tempestconf_source | False | None | String | A path to python-tempestconf's source. If not defined, refstack-client's default is applied. |
|
| tempestconf_source | False | None | String | A path to python-tempestconf's source. If not defined, refstack-client's default is applied. |
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# This file and plugin.spec are required by Infrared project
|
# This file and plugin.spec are required by Infrared project
|
||||||
|
|
||||||
- hosts: tester
|
- hosts: "{{ test.openstack_node }}"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Remap infrared parameters to role variables
|
- name: Remap infrared parameters to role variables
|
||||||
|
@ -38,6 +38,11 @@ subparsers:
|
|||||||
type: Value
|
type: Value
|
||||||
help: |
|
help: |
|
||||||
Specific refstack guideline.
|
Specific refstack guideline.
|
||||||
|
openstack_node:
|
||||||
|
type: Value
|
||||||
|
help: |
|
||||||
|
OpenStack node ansible-role-refstack-client will be executed on.
|
||||||
|
default: tester
|
||||||
private_key_path:
|
private_key_path:
|
||||||
type: Value
|
type: Value
|
||||||
help: |
|
help: |
|
||||||
|
Loading…
Reference in New Issue
Block a user