How to manage Ansible Automation Platform installation which fails at task "Check if collection tarball exists" ?
Issue
-
During AAP setup installer run Private Automation Hub fails with following error:
TASK [ansible.automation_platform_installer.automationhub : Check if collection tarball exists] *** ok: [automationhub -> localhost] => (item={'name': 'amazon-aws-6.4.0.tar.gz', 'version': '6.4.0'}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "amazon-aws-6.4.0.tar.gz", "version": "6.4.0"}, "stat": {"atime": 1706630232.9760113, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 1824, "charset": "binary", "checksum": "8de2fd88741edab72e25718d9bdbdc5010", "ctime": 1706630232.9760113, "dev": 66307, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 27831, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-gzip", "mode": "0644", "mtime": 1703082133.0, "nlink": 1, "path": "/var/lib/awx/ansible/ansible-automation-platform-setup-bundle-2.4-4-x86_64/./bundle/collections/certified/amazon-aws-6.4.0.tar.gz", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 933251, "uid": 0, "version": "909678561", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} "msg": "The conditional check '_collection_tarball_check.results | selectattr('stat.exists', 'true') | length' failed. The error was: no test named 'true'
Environment
- Red Hat® Ansible Automation Platform 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.