Skip to content

AGOF Fails to find AAP Installer to Download #71

@mhjacks

Description

@mhjacks

Last few lines of playbook execution:

TASK [infra.aap_utilities.aap_setup_download : Select the Specified installer to download] *****************************
task path: /pattern-home/.ansible/collections/ansible_collections/infra/aap_utilities/roles/aap_setup_download/tasks/main.yml:25
ok: [aap] => {
    "ansible_facts": {
        "__aap_setup_down_images": []
    },
    "changed": false
}
Read vars_file '~/agof_vault.yml'

TASK [infra.aap_utilities.aap_setup_download : Display all the filenames available for download] ***********************
task path: /pattern-home/.ansible/collections/ansible_collections/infra/aap_utilities/roles/aap_setup_download/tasks/main.yml:34
ok: [aap] => {
    "msg": []
}
Read vars_file '~/agof_vault.yml'

TASK [infra.aap_utilities.aap_setup_download : Select the image to download or latest] *********************************
task path: /pattern-home/.ansible/collections/ansible_collections/infra/aap_utilities/roles/aap_setup_download/tasks/main.yml:38
fatal: [aap]: FAILED! => {
    "msg": "The task includes an option with an undefined variable.. {{ (__aap_filtered_version_selected | length > 0) | ternary(__aap_filtered_version_selected[0], __aap_setup_down_images[0]) }}: list object has no element 0\n\nThe error appears to be in '/pattern-home/.ansible/collections/ansible_collections/infra/aap_utilities/roles/aap_setup_download/tasks/main.yml': line 38, 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: Select the image to download or latest\n  ^ here\n"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions