Skip to content

Davinci install failed: Conditionals must have a boolean result. #52

@vic-bart

Description

@vic-bart

Getting the following error when installing Davinci, make install TAGS=davinci_resolve on davinci branch:

TASK [davinci_resolve : Install required dependencies] *********************************************************************************************************************************
ok: [localhost]

TASK [davinci_resolve : Install OpenCL headers for AMD GPU] ****************************************************************************************************************************
[ERROR]: Task failed: Conditional result (True) was derived from value of type 'str' at '/home/victor/other/JDInstaller/pre_tasks.yml:36:22'. Conditionals must have a boolean result.

Task failed.
Origin: /home/victor/other/JDInstaller/roles/davinci_resolve/tasks/main.yml:25:3

23     cache_valid_time: "{{ apt_cache_time | default(3600) }}"
24
25 - name: Install OpenCL headers for AMD GPU
     ^ column 3

<<< caused by >>>

Conditional result (True) was derived from value of type 'str' at '/home/victor/other/JDInstaller/pre_tasks.yml:36:22'. Conditionals must have a boolean result.
Origin: /home/victor/other/JDInstaller/roles/davinci_resolve/tasks/main.yml:32:9

30       - opencl-headers
31     state: present
32   when: has_amd_gpu
           ^ column 9

Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Task failed: Conditional result (True) was derived from value of type 'str' at '/home/victor/other/JDInstaller/pre_tasks.yml:36:22'. Conditionals must have a boolean result."}

PLAY RECAP *****************************************************************************************************************************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   

make: *** [Makefile:101: install] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions