3장. 인벤토리 파일 편집
인벤토리 파일을 편집하여 자동화 허브 설치를 지정하고 필요한 매개변수를 업데이트합니다.
설치 프로그램으로 이동합니다.
[bundled 설치 프로그램]
$ cd ansible-automation-platform-setup-bundle-<latest-version>
[온라인 설치 프로그램]
$ cd ansible-automation-platform-setup-<latest-version>
-
텍스트 편집기로
인벤토리파일을 엽니다. 인벤토리파일 매개 변수를 편집하여 자동화 허브 호스트 설치만 지정합니다. 다음 예제를 참조하십시오.-
[automationcontroller]인벤토리 정보를 비워 둡니다. [automationhub]그룹 호스트 정보를 추가합니다.참고[automationhub]호스트에 연결할 수 있는 IP 주소를 제공하여 사용자가 다른 노드에서 프라이빗 자동화 허브에서 콘텐츠를 동기화할 수 있도록 합니다.설치 사양에 따라
automationhub_admin_password및automation_pg_password및 추가 매개변수 값을 업데이트합니다.예제
[automationcontroller] [automationhub] <reachable-ip> ansible_connection=local [all:vars] automationhub_admin_password= <PASSWORD> automationhub_pg_host='' automationhub_pg_port='' automationhub_pg_database='automationhub' automationhub_pg_username='automationhub' automationhub_pg_password=<PASSWORD> automationhub_pg_sslmode='prefer' # The default install will deploy a TLS enabled Automation Hub. # If for some reason this is not the behavior wanted one can # disable TLS enabled deployment. # # automationhub_disable_https = False # The default install will generate self-signed certificates for the Automation # Hub service. If you are providing valid certificate via automationhub_ssl_cert # and automationhub_ssl_key, one should toggle that value to True. # # automationhub_ssl_validate_certs = False # SSL-related variables # If set, this will install a custom CA certificate to the system trust store. # custom_ca_cert=/path/to/ca.crt # Certificate and key to install in Automation Hub node # automationhub_ssl_cert=/path/to/automationhub.cert # automationhub_ssl_key=/path/to/automationhub.key
-
3.1. Red Hat Single Sign-On 환경에 자동화 허브 연결
자동화 허브를 Red Hat Single Sign-On 설치에 연결하려면 설치 프로그램 설정 스크립트를 실행하기 전에 인벤토리 파일에서 인벤토리 변수를 구성합니다.
Ansible Automation Platform에서 관리하는 Red Hat Single Sign-On 설치에 연결할 때 외부 Red Hat Single Sign-On 설치에 연결할 때와 다른 변수 세트를 구성해야 합니다.
3.1.1. 자동화 허브를 Red Hat Single Sign-On 인스턴스에 연결하기 위한 인벤토리 파일 변수
자동화 허브와 Red Hat Single Sign-On을 처음 설치하는 경우 또는 기존 Ansible Automation Platform에서 Red Hat Single Sign-On을 관리하는 기존 Ansible Automation Platform이 있는 경우 Ansible Automation Platform의 변수를 Red Hat Single Sign-On으로 구성하십시오.
자동화 허브를 설치하고 외부적으로 관리되는 기존 Red Hat Single Sign-On 인스턴스에 연결하려면 외부적으로 관리되는 Red Hat Single Sign-On의 변수를 구성합니다.
이러한 인벤토리 변수에 대한 자세한 내용은 Red Hat Ansible Automation Platform 설치 가이드의 Ansible 자동화 허브 변수를 참조하십시오.
Ansible Automation Platform 관리 및 외부 Red Hat Single Sign-On 모두에 대해 다음 변수를 구성할 수 있습니다.
| Variable | 필수 또는 선택 사항 |
|---|---|
|
| 필수 항목 |
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
Ansible Automation Platform 관리 Red Hat Single Sign-On에만 대해 다음 변수를 구성할 수 있습니다.
| Variable | 필수 또는 선택 사항 |
|---|---|
|
|
|
|
| 선택 사항 |
|
| 선택 사항 |
|
| 선택 사항 |
다음 변수는 외부 Red Hat Single Sign-On에만 구성할 수 있습니다.
| Variable | description |
|---|---|
|
| 필수 항목 |