Ansible AWX와 함께하는 머신 및 워크로드 아이덴티티
머신 및 워크로드 아이덴티티와 Ansible AWX를 함께 사용하는 방법
Ansible AWX(이전에 Ansible Tower라고 알려진)는 Ansible 위에서 Ansible 워크플로를 실행하고 조율하는 데 사용할 수 있는 인터페이스입니다. 이 워크플로는 SSH를 통해 원격 호스트에 연결하며 인증 방식이 필요합니다. 머신 및 워크로드 아이덴티티는 AWX를 통해 실행되는 Ansible 작업에 단기 인증서를 제공하여 작업이 Teleport에 등록된 SSH 노드에 안전하고 감사 가능한 방식으로 연결할 수 있게 합니다. 이 가이드는 오픈 소스 Ansible AWX와 오픈 소스 Ansible AWX 엔진 위에 구축된 Red Hat의 상용 Ansible Automation Platform 자동화 컨트롤러 모두에 적용됩니다. 작동 방식 # 이 가이드에서는 Ansible AWX의 컨테이너 그룹이 머신 및 워크로드 아이덴티티 에이전트 tbot 을 사이드카로 실행하도록 설정합니다. 이는 Ansible AWX 작업에 자격 증명과 고성능 멀티플렉싱 프록시를 제공합니다. 그런 다음 Ansible이 이 자격 증명을 사용하여 Teleport Proxy Service를 통해 SSH 노드에 연결하도록 설정합니다. 사전 조건 # A running Teleport cluster. If you want to get started with Teleport, sign up for a free trial or set up a demo environment . The tctl and tsh clients. Installing `tctl` and `tsh` clients Determine the version of your Teleport cluster. The tctl and tsh clients must be at most one major version behind your Teleport cluster version. Send a GET request to the Proxy Service at /v1/webapi/find and use a JSON query tool to obtain your cluster version. Replace teleport.example.com:443 with the web address of your Teleport Proxy Service: $ TELEPORT_DOMAIN=teleport.example.com:443 $ TELEPORT_VERSION="$(curl -s https://$TELEPORT_DOMAIN/v1/webapi/find | jq -r '.server_version')" Follow the instructions for your platform to install tctl and tsh clients: Mac Download the signed macOS .pkg installer for Teleport, which includes the `tctl` and `tsh` clients: ```code $ curl -O https://cdn.teleport.dev/teleport-${TELEPOR