Closed ericzolf closed 2 years ago
I was able to do it via feeding it the link and specifying it before, it worked without a hitch, however I believe the link is only good for 30 minutes. Here is the playbook.
- name: Install Ansible Tower
hosts: localhost
become: true
vars:
tower_releases_url: https://access.cdn.redhat.com/content/origin/files/sha256/75/12345/ansible-automation-platform-setup-bundle-1.2.1-1.tar.gz?user=12345&_auth_=12345
tower_setup_file: ansible-automation-platform-setup-bundle-1.2.1-1.tar.gz?user=12345&_auth_=12345
tower_database_host: 192.168.122.120
tower_hosts: []
tower_ah_hosts:
- 192.168.122.200
roles:
- sean_m_sullivan.tower_utilities.install
Adding to that, the Openshift installer is likely changing. I believe the "supported" version will be an operator, so we will likely need to tweak the openshift install then. However this won't happen till the 2.0 release.
What I ended up doing was downloading the bundle and then doing a pre_task to copy it to the target host that I was running the installer on. You just make the "URL" a local path.
It's not yet clean but the new role from https://github.com/redhat-cop/tower_utilities/pull/54 helps address the issue.
This is now solved
Since AAP 1.2 is available from access.redhat.com under a new package name "ansible-automation-platform-setup-bundle-1.2.1-1", we need to find a way to cope with a different name of the package, not easily downloadable, so probably pre-downloaded.