Provide default for test-bifrost.yaml for clouds.yaml
If executed without sudo, the test-bifrost.sh script, at least on my centos7.3 test machine, fails as the parameter has no valid default. Adding a valid default, which is what we use elsewhere in the roles in the event that sudo was not utilized. Change-Id: Ie06f7ecbb560e38b0365333e156cb55ce67e311d
This commit is contained in:
parent
762f4c78ca
commit
380813ab1d
@ -79,7 +79,7 @@
|
||||
- { role: bifrost-create-dib-image, dib_imagename: "{{ http_boot_folder }}/ipa", build_ramdisk: false, dib_os_element: "{{ ipa_dib_os_element|default('debian') }}", dib_os_release: "jessie", dib_elements: "ironic-agent {{ ipa_extra_dib_elements | default('') }}", when: create_ipa_image | bool == true }
|
||||
- { role: bifrost-create-dib-image, dib_imagetype: "qcow2", dib_imagename: "{{deploy_image}}", dib_os_element: "debian", dib_os_release: "jessie", dib_elements: "vm enable-serial-console simple-init {{ extra_dib_elements|default('') }}", when: create_image_via_dib | bool == true and transform_boot_image | bool == false }
|
||||
- role: bifrost-keystone-client-config
|
||||
user: "{{ ansible_env.SUDO_USER }}"
|
||||
user: "{{ ansible_env.SUDO_USER | default(ansible_user_id) }}"
|
||||
clouds:
|
||||
bifrost:
|
||||
config_username: "{{ ironic.keystone.default_username }}"
|
||||
|
Loading…
Reference in New Issue
Block a user