Chapter 2. Remote management
You can set up remote configurations to any server that is running automation hub. Remote configurations allow you to sync content to your custom repositories from an external collection source.
2.1. Basic remote management
With basic remote management, you can create a remote configuration to an external collection source and sync the content from those collections to your custom repositories.
2.1.1. Create a remote
Use this procedure to create a remote configuration to an external collection.
Procedure
- Log in to Red Hat Ansible Automation Platform.
- Navigate to Automation Hub → Remotes.
- Click Add Remote.
- Enter a Name for the remote configuration.
Enter the URL for the remote server, including the path for the specific repository.
NoteYou can obtain this information by navigating to Automation Hub → Repositories, selecting your repository, and clicking Copy CLI configuration.
Configure the credentials to the remote server by entering a Token or Username and Password required to access the external collection.
NoteA Token can be generated by navigating to Automation Hub → API token, clicking Load token and copying the token that is loaded.
- To access collections from console.redhat.com, enter the SSO URL to sign in to the identity provider (IdP).
Select or create a YAML requirements file to identify the collections and version ranges to synchronize with your custom repository. For example, to only download the kubernetes and AWS collection versions 5.0.0 or later the requirements file would look like this:
Collections: - name: community.kubernetes - name: community.aws version:”>=5.0.0”
NoteAll collection dependencies are automatically downloaded during the Sync process.
To configure your remote further, use the options available under Advanced configuration:
- If there is a corporate proxy in place for your organization, enter a Proxy URL, Proxy Username and Proxy Password.
- Enable or disable transport layer security using the TLS validation checkbox.
- If digital certificates are required for authentication, enter a Client key and Client certificate.
- If you are using a self-signed SSL certificate for your server, enter the PEM encoded client certificate used for authentication in the CA certificate field.
- To accelerate the speed at which collections in this remote can be downloaded, specify the number of collections that can be downloaded in tandem in the Download concurrency field.
To limit the number of queries per second on this remote, specify a Rate Limit.
NoteSome servers can have a specific rate limit set and if exceeded, synchronization will fail.
2.1.2. Provide access to a remote
After a remote is created, you can provide access to it by doing the following.
Procedure
- Log in to Red Hat Ansible Automation Platform.
- Navigate to Automation Hub → Remotes.
-
Locate your repository in the list and click
, then select Edit.
- Select the Access tab.
- Select a group for Repository owners. See Configuring user access for your local Automation Hub for information about implementing user access.
- Select the appropriate roles for the selected group.
- Click Save.