Add --reproducer-command to tripleo-deploy role

After it's added to options of tripleo deploy in tripleoclient,
add it to tripleo-deploy role in operators.

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/801292
Change-Id: I85742e055976e9f8e76a192ada33400bc7672a4b
This commit is contained in:
Sagi Shnaidman 2021-07-19 15:21:32 +03:00
parent d2619150b5
commit f370d40ca0
3 changed files with 18 additions and 0 deletions

View File

@ -41,3 +41,4 @@ tripleo_deploy_timeout: 5700
tripleo_deploy_timeout_arg: 90
tripleo_deploy_upgrade: false
tripleo_deploy_yes: true
tripleo_deploy_reproducer_command: false

View File

@ -403,6 +403,22 @@
that:
- tripleo_deploy_output == "tripleo deploy --local-ip 192.168.24.2/24 --force-stack-update"
- name: Check parameter "tripleo_deploy_reproducer_command"
include_role:
name: "tripleo_deploy"
vars:
tripleo_deploy_templates:
tripleo_deploy_stack:
tripleo_deploy_standalone: false
tripleo_deploy_standalone_role:
tripleo_deploy_timeout_arg:
tripleo_deploy_reproducer_command: true
- name: Assert "tripleo_deploy_reproducer_command"
assert:
that:
- tripleo_deploy_output == "tripleo deploy --local-ip 192.168.24.2/24 --reproduce-command"
- name: Check parameter "tripleo_deploy_debug_arg"
include_role:
name: "tripleo_deploy"

View File

@ -38,6 +38,7 @@
{{ tripleo_deploy_inflight_validations | ternary('--inflight-validations', '') }}
{{ tripleo_deploy_force_stack_create | ternary('--force-stack-create', '') }}
{{ tripleo_deploy_force_stack_update | ternary('--force-stack-update', '') }}
{{ tripleo_deploy_reproducer_command | ternary('--reproduce-command', '') }}
{{ tripleo_deploy_log_output | ternary((">" ~ tripleo_deploy_log), '') }}
{{ tripleo_deploy_log_combine | ternary("2>&1", '') }}
_deploy_env: