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
81 stars 50 forks source link

Update installation role(s) to handle AAP setup/bundle #34

Closed ericzolf closed 2 years ago

ericzolf commented 3 years ago

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.

sean-m-sullivan commented 3 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
sean-m-sullivan commented 3 years ago

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.

djdanielsson commented 3 years ago

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.

ericzolf commented 2 years ago

It's not yet clean but the new role from https://github.com/redhat-cop/tower_utilities/pull/54 helps address the issue.

Tompage1994 commented 2 years ago

This is now solved