[copr] don't fail on undefined variables
This commit is contained in:
parent
ac592872a2
commit
09c6ff6d1d
1 changed files with 4 additions and 2 deletions
|
@ -5,8 +5,10 @@ OS_TENANT_ID: "{{ copr_nova_tenant_id }}"
|
|||
OS_TENANT_NAME: "{{ copr_nova_tenant_name }}"
|
||||
|
||||
OS_USERNAME: "{{ copr_nova_username }}"
|
||||
OS_PASSWORD_OLD: "{{ copr_nova_password }}"
|
||||
OS_PASSWORD: "{{ copr_password }}"
|
||||
|
||||
# remove default values after transition to the new cloud is finished
|
||||
OS_PASSWORD_OLD: "{{ copr_nova_password|default('variable OS_PASSWORD_OLD is undefined') }}"
|
||||
OS_PASSWORD: "{{ copr_password|default('variable OS_PASSWORD is undefined')}}"
|
||||
|
||||
|
||||
image_name: "{{ copr_builder_image_name }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue