redhat-cop / aap_utilities

Ansible Collection for automated deployment of AAP and other objects for general use
https://galaxy.ansible.com/infra/aap_utilities
GNU General Public License v3.0
80 stars 49 forks source link

RHEL version needs to be string #105

Closed djdanielsson closed 1 year ago

djdanielsson commented 1 year ago

fatal: [127.0.0.1]: FAILED! => {"msg": "The conditional check '(aap_setup_down_type + '-' + aap_setup_down_version) in item.filename' failed. The error was: Unexpected templating type error occurred on ({% if (aap_setup_down_type + '-' + aap_setup_down_version) in item.filename %} True {% else %} False {% endif %}): can only concatenate str (not \"float\") to str\n\nThe error appears to be in '/root/.ansible/collections/ansible_collections/redhat_cop/aap_utilities/roles/aap_setup_download/tasks/main.yml': line 27, 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: downloading the latest installer of type {{ aap_setup_down_type }}\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"}

djdanielsson commented 1 year ago

it looks like I already fixed this but has not been released yet