2장. 프라이빗 자동화 허브에 대한 보기 전용 액세스 활성화
보기 전용 액세스를 활성화하면 사용자가 로그인할 필요 없이 개인 자동화 허브에서 컬렉션 또는 네임스페이스를 볼 수 있는 액세스 권한을 부여할 수 있습니다. 보기 전용 액세스를 사용하면 권한이 없는 사용자와 콘텐츠를 공유할 수 있으며, 프라이빗 자동화 허브에서 아무 것도 편집할 수 있는 권한 없이 소스 코드만 보거나 다운로드할 수 있는 기능을 제한할 수 있습니다.
Red Hat Ansible Automation Platform 설치 프로그램에 있는 인벤토리 파일을 편집하여 프라이빗 자동화 허브에 대한 보기 전용 액세스를 활성화합니다.
-
Ansible Automation Platform의 새 인스턴스를 설치하는 경우 다음 단계를 수행하여
automationhub_enable_unauthenticated_access 및매개변수를 다른 설치 구성과 함께automationhub_enable_unauthenticated_collection_download인벤토리파일에 추가합니다. -
보기 전용 액세스를 포함하도록 기존 Ansible Automation Platform 설치를 업데이트하는 경우
automationhub_enable_unauthenticated_collection_access및automationhub_enable_unauthenticated_collection_download매개변수를인벤토리파일에 추가한 다음setup.sh스크립트를 실행하여 업데이트를 적용합니다.
절차
설치 프로그램으로 이동합니다.
- 번들 설치
cd ansible-automation-platform-setup-bundle-<latest-version>
$ cd ansible-automation-platform-setup-bundle-<latest-version>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 온라인 설치 프로그램
cd ansible-automation-platform-setup-<latest-version>
$ cd ansible-automation-platform-setup-<latest-version>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
텍스트 편집기를 사용하여
인벤토리파일을 엽니다. automationhub_enable_unauthenticated_collection_access및automationhub_enable_unauthenticated_collection_download매개변수를 인벤토리 파일에 추가하고 아래 예제에 따라True로 설정합니다.[all:vars] automationhub_enable_unauthenticated_collection_access = True automationhub_enable_unauthenticated_collection_download = True
[all:vars] automationhub_enable_unauthenticated_collection_access = True1 automationhub_enable_unauthenticated_collection_download = True2 Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
setup.sh스크립트를 실행합니다. 설치 프로그램에서 자동화 허브에 대한 보기 전용 액세스를 활성화합니다.
검증
설치가 완료되면 로그인 없이 자동화 허브에서 콘텐츠를 보려는 방식으로 개인 자동화 허브에서 보기 전용 액세스 권한이 있는지 확인할 수 있습니다.
- 프라이빗 자동화 허브로 이동합니다.
- 로그인 화면에서 클릭합니다.
로그인하지 않고도 네임스페이스 또는 컬렉션과 같은 자동화 허브의 콘텐츠를 볼 수 있는지 확인합니다.