oVirt/ovirt-engine

Deploying 4.5.1 hosted-engine fails with this SSO error

dkelson opened this issue · 1 comments

[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The field 'environment' has an invalid value, which includes an undefined variable. The error was: 'he_admin_username' is undefined\n\nThe error appears to be in '/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/auth_sso.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Obtain SSO token using username/password credentials\n ^ here\n"}

As a work-around I've changed the following file: Usr/share/ansible/collctions/ansible_collections/ovirt/ovirt/roles/hosted-engine_setup/defaults/main.yml

he_admin_username: admin@ovirt@internal
he_admin_password: *********

This might give an idea to someone somewhere why this isn't working