Skip to content

This role provides an automated method for downloading the latest AAP installer from CDN as well as uploading it to Satellite Repository and Content View

Notifications You must be signed in to change notification settings

lucas-benedito/installer_dowloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

installer_downloader

This role will help to download the AAP installer as well as uploading it to Satellite. After Execution, the files will be contained on the directory data. E.g.:

$ ls data
ansible-automation-platform-latest-bundle-installer.tar.gz  ansible-automation-platform-latest-installer.tar.gz  ansible-automation-platform-setup-2.2.0-6.tar.gz  ansible-automation-platform-setup-bundle-2.2.0-6.tar.gz
$

Requirements

redhat.satellite

Role Variables

This role requires the following variables.

Optional Variables

  • requires_satellite (Default: False)
    • When setting this variable to True, the variables below become mandatory
  • satellite_user
  • satellite_password
  • satellite_server
  • satellite_validate_certs (Default: False)
  • satellite_organization
  • satellite_repository
  • satellite_product
  • satellite_content_view_name

You can find a vars file example at installer_dowloader/templates/vars.yml.j2.

Example Playbook

---
- name: Downloader for AAP installers
  hosts: localhost
  vars_files:
    - vars.yml
  roles:
    - { role: lucas_benedito.installer_downloader }

Note

In case you wish to change the downloaded version, set the variable aap_version in vars.yml with the desired repository name.

E.g.: AAP 2.0 E.A

aap_version: ansible-automation-platform-2.0-early-access-for-rhel-8-x86_64-files

AAP 2.1

aap_version: ansible-automation-platform-2.1-for-rhel-8-x86_64-files

AAP 2.2

aap_version: ansible-automation-platform-2.2-for-rhel-8-x86_64-files

AAP 2.2 - RHEL 9

aap_version: ansible-automation-platform-2.2-for-rhel-9-x86_64-files

AAP 2.3

aap_version: ansible-automation-platform-2.3-for-rhel-8-x86_64-files

AAP 2.3 - RHEL 9

aap_version: ansible-automation-platform-2.3-for-rhel-9-x86_64-files

To find the repo name, you may verfy it with the following command in a registered system:

subscription-manager repos |grep ansible-automation-platform

License

MIT / BSD

Author Information

Lucas Benedito (lbenedit@redhat.com)

About

This role provides an automated method for downloading the latest AAP installer from CDN as well as uploading it to Satellite Repository and Content View

Topics

Resources

Stars

Watchers

Forks

Languages