Merge "Fix issues in cli-derive-parameters.yaml playbook"

This commit is contained in:
Zuul 2021-03-23 18:42:14 +00:00 committed by Gerrit Code Review
commit 653ca3fdc1
1 changed files with 5 additions and 5 deletions

View File

@ -34,15 +34,15 @@
- name: Fail if stack_data is not defined
when:
- tripleo_get_flatten_params.stack_data is not defined or
stack_data is not defined
- tripleo_get_flatten_params.stack_data is not defined
- stack_data is not defined
fail:
msg: "Missing stack_data"
- name: Fail if role_list is not defined
when:
- tripleo_role_list.roles is not defined or
role_list is not defined
- tripleo_role_list.roles is not defined
- role_list is not defined
fail:
msg: "Missing valid roles"
@ -66,7 +66,7 @@
- name: Write environment
copy:
dest: "{{ derived_environment_path }}"
content: "{{ dervied_params_env | to_nice_yaml(indent=2) }}"
content: "{{ derived_params_env | to_nice_yaml(indent=2) }}"
when:
- derived_environment_path is defined
- derived_parameters_result is defined