3.3. RHEL의 패키지에서 Ansible 개발 툴 설치


Ansible 개발 툴은 Ansible Automation Platform RPM(Red Hat Package Manager) 패키지에 번들로 제공됩니다. Ansible Automation Platform 설치에 대한 정보는 RPM 설치 설명서를 참조하십시오.

사전 요구 사항

  • RHEL을 설치했습니다.
  • Red Hat Subscription Manager에 시스템을 등록했습니다.
  • 컨테이너화 플랫폼(예: Podman 또는 Docker)이 설치되어 있습니다.

프로세스

  1. 다음 명령을 실행하여 SCA(Simple Content Access)가 활성화되어 있는지 확인합니다.

    Copy to Clipboard Toggle word wrap
    $ sudo subscription-manager status

    Simple Content Access를 활성화하면 출력에 다음 메시지가 포함됩니다.

    Copy to Clipboard Toggle word wrap
    Content Access Mode is set to Simple Content Access.
    1. Simple Content Access가 활성화되지 않은 경우 Red Hat Ansible Automation Platform SKU를 연결합니다.

      Copy to Clipboard Toggle word wrap
      $ sudo subscription-manager attach --pool=<sku-pool-id>
  2. 다음 명령을 사용하여 Ansible 개발 툴을 설치합니다.

    Copy to Clipboard Toggle word wrap
    $ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms ansible-dev-tools
    Copy to Clipboard Toggle word wrap
    $ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms ansible-dev-tools

확인:

Ansible 개발 툴 구성 요소가 설치되었는지 확인합니다.

Copy to Clipboard Toggle word wrap
$ rpm -aq | grep ansible

출력에는 설치된 Ansible 패키지가 표시됩니다.

Copy to Clipboard Toggle word wrap
ansible-sign-0.1.1-2.el9ap.noarch
ansible-creator-24.4.1-1.el9ap.noarch
python3.11-ansible-runner-2.4.0-0.1.20240412.git764790f.el9ap.noarch
ansible-runner-2.4.0-0.1.20240412.git764790f.el9ap.noarch
ansible-builder-3.1.0-0.2.20240413.git167ed5c.el9ap.noarch
ansible-dev-environment-24.1.0-2.el9ap.noarch
ansible-core-2.16.6-0.1.20240413.gite636132.el9ap.noarch
python3.11-ansible-compat-4.1.11-2.el9ap.noarch
python3.11-pytest-ansible-24.1.2-1.el9ap.noarch
ansible-lint-6.14.3-4.el9ap.noarch
ansible-navigator-3.4.1-2.el9ap.noarch
python3.11-tox-ansible-24.2.0-1.el9ap.noarch
ansible-dev-tools-2.5-2.el9ap.noarch

성공적으로 설치하면 ansible-creator에 대한 도움말 문서를 볼 수 있습니다.

Copy to Clipboard Toggle word wrap
$ ansible-creator --help

usage: ansible-creator [-h] [--version] command ...

The fastest way to generate all your ansible content.

Positional arguments:
 command
  add           Add resources to an existing Ansible project.
  init          Initialize a new Ansible project.

Options:
 --version      Print ansible-creator version and exit.
 -h     --help  Show this help message and exit
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat, Inc.