{"id":16582,"date":"2023-02-23T04:16:44","date_gmt":"2023-02-23T04:16:44","guid":{"rendered":"https:\/\/www.insentragroup.com\/au\/insights\/uncategorized\/adding-container-registry-credentials-for-highly-available-private-automation-hub\/"},"modified":"2024-12-13T02:22:55","modified_gmt":"2024-12-13T02:22:55","slug":"adding-container-registry-credentials-for-highly-available-private-automation-hub","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/modern-workplace\/adding-container-registry-credentials-for-highly-available-private-automation-hub\/","title":{"rendered":"Adding Container Registry Credentials for Highly Available Private Automation HUB"},"content":{"rendered":"\n<p>This page describes the process required for the PAH in High Availability configuration.&nbsp;&nbsp;<\/p>\n\n\n\n<p>The Ansible Automation Platform (AAP) installation does not specify the Load Balancer configuration for PAH during the installation. There is no configuration available on the installed PAH in HA configuration either. As the result, the initial PAH Container Registry Configuration in AAP points to one node only. This configuration does not provide the seamless HA configuration and has to be modified once the Load Balancer is in place.&nbsp;&nbsp;<\/p>\n\n\n\n<p>The following process outlines the required steps:&nbsp;&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure that the Load Balancer has been configured<\/li>\n\n\n\n<li>Ensure that the certificate has been generated for Load Balancer\u2019s FQDN (<a href=\"http:\/\/aaph-preprod.woolworths.com.au\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">aaph.example.net<\/a>) and installed on the Load Balancer and all PAH nodes<\/li>\n\n\n\n<li>Log to AAP with admin privileges<\/li>\n\n\n\n<li>Navigate to Credentials and use \u2018Container\u2019 as the search query<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"978\" height=\"235\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-22.png\" alt=\"\" class=\"wp-image-16583\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-22.png 978w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-22-300x72.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-22-768x185.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Duplicate the Credential (Automation Hub Container Registry) using copy from Actions on the right<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"978\" height=\"281\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-23.png\" alt=\"\" class=\"wp-image-16585\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-23.png 978w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-23-300x86.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-23-768x221.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit the duplicate and update the name and PAH\u2019s URL. The following screenshot shows the original configuration before the changes:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"982\" height=\"426\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-24.png\" alt=\"\" class=\"wp-image-16587\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-24.png 982w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-24-300x130.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-24-768x333.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The following screenshot shows the configuration after the changes. Note the name and the Authentication URL<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"440\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-25-1024x440.png\" alt=\"\" class=\"wp-image-16589\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-25-1024x440.png 1024w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-25-300x129.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-25-768x330.png 768w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-25.png 1307w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the Credential&nbsp;<\/li>\n\n\n\n<li>Navigate to Administration \u2192 Execution Environments&nbsp;<\/li>\n\n\n\n<li>Duplicate each execution environment and edit the copy. The following screenshot shows the original configuration. Note the Registry credentials and the Image Tag before changes<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"287\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-26-1024x287.png\" alt=\"\" class=\"wp-image-16591\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-26-1024x287.png 1024w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-26-300x84.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-26-768x215.png 768w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-26.png 1308w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The following screenshot provides the execution environment after the changes. Note the Registry credentials and the Image Tag after changes<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"288\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-27-1024x288.png\" alt=\"\" class=\"wp-image-16593\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-27-1024x288.png 1024w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-27-300x84.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-27-768x216.png 768w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-27.png 1307w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Testing<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a new inventory or use an existing one<\/li>\n\n\n\n<li>Navigate to Hosts tab and select one or several nodes&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"269\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-28.png\" alt=\"\" class=\"wp-image-16595\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-28.png 980w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-28-300x82.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-28-768x211.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Run Command&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select ping or setup module and click Next&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"977\" height=\"662\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-29.png\" alt=\"\" class=\"wp-image-16597\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-29.png 977w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-29-300x203.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-29-768x520.png 768w\" sizes=\"(max-width: 977px) 100vw, 977px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select one of the modified execution environments and click next&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"664\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-30.png\" alt=\"\" class=\"wp-image-16599\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-30.png 979w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-30-300x203.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-30-768x521.png 768w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select credentials to be used to authenticate to the selected host and click next&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"663\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-31.png\" alt=\"\" class=\"wp-image-16601\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-31.png 978w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-31-300x203.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-31-768x521.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Launch<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"662\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-32.png\" alt=\"\" class=\"wp-image-16603\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-32.png 979w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-32-300x203.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-32-768x519.png 768w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Validate the output<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"362\" src=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-33.png\" alt=\"\" class=\"wp-image-16605\" title=\"\" srcset=\"https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-33.png 980w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-33-300x111.png 300w, https:\/\/www.insentragroup.com\/au\/wp-content\/uploads\/sites\/22\/2023\/03\/image-33-768x284.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Validate the Details tab, ensuring that the Execution Environment used was the one which was modified&nbsp;<\/li>\n\n\n\n<li>Repeat for all execution environments. If All is working, you might remove the original credentials and execution environments and update the names of the new credentials and execution environments to match the original ones&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>By following these steps, you can modify the initial PAH Container Registry Configuration in AAP to enable a seamless HA configuration. Ensure that the Load Balancer has been configured, and the certificate has been generated for Load Balancer&#8217;s FQDN. Log in to AAP with admin privileges, duplicate the credential, and update the name and PAH&#8217;s URL. Finally, save the credential and navigate to Administration \u2192 Execution Environments. Make sure to follow each step carefully to ensure a successful configuration.<\/p>\n\n\n\n<p>For any questions or assistance, <a href=\"https:\/\/www.insentragroup.com\/au\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">contact us<\/a> today. Our experts are ready to help you achieve your automation goals.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<a href=\"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/modern-workplace\/how-to-configure-ansible-automation-saml-sso-with-red-hat-sso\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to configure Ansible Automation SAML SSO with Red Hat SSO<\/a><br>\n<a href=\"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/cloud-and-modern-data-center\/azure-ad-seamless-sso-kerberos-key-using-azure-automation-and-hybrid-runbook-worker-part-2-of-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">Azure AD Seamless SSO Kerberos Key Using Azure Automation and Hybrid Runbook Worker (Part 2 of 2)<\/a><br>\n<a href=\"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/modern-workplace\/protecting-the-automation-engine-backup-for-ansible-awx-project\/\" target=\"_blank\" rel=\"noreferrer noopener\">Protecting the automation engine \u2013 Backup for Ansible AWX Project<\/a>\n","protected":false},"excerpt":{"rendered":"<p>Secure your Private Automation Hub with container registry credentials. Follow our guide for highly available credential addition and keep your automation running smoothly.<\/p>\n","protected":false},"author":67,"featured_media":16607,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-16582","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-modern-workplace","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/16582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/comments?post=16582"}],"version-history":[{"count":13,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/16582\/revisions"}],"predecessor-version":[{"id":16608,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/16582\/revisions\/16608"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media\/16607"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media?parent=16582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/categories?post=16582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/tags?post=16582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}