We need to identify the var value.

Can you add something like this before the problematic task:
- name: DEBUG
  debug:
    var: server_cpu_list

In cockpit, before running it, there is an option to edit the playbook.

Best Regards,
Strahil Nikolov


On Fri, Jun 4, 2021 at 16:57, lejeczek via Users
<users@ovirt.org> wrote:


On 04/06/2021 08:41, Strahil Nikolov wrote:
> Maybe you can provide the error ?
>
> Best Regards,
> Strahil Nikolov
>
>
>    If it's about taking out 'debug' from the file mentioned
>    above then - no - deployment still fails at that same
>    step
>    with slightly different error message.

>
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task
includes an option with an undefined variable. The error
was: 'dict object' has no attribute ''\n\nThe error appears
to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml':
line 64, column 5, but may\nbe elsewhere in the file
depending on the exact syntax problem.\n\nThe offending line
appears to be:\n\n      {{
server_cpu_list['ovirt_system_option']['values'][0]['value'].split(';
')|list|difference(['']) }}\n  - name: Convert CPU model
name\n    ^ here\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed
executing ansible-playbook
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/DC2AKUE5PII5QKCN7XBI3IP5ZUNWYYMS/