2.5. 선택적 빌드 명령 인수
-t 플래그는 자동화 실행 환경 이미지에 특정 이름을 지정합니다. 예를 들어 다음 명령은 my_first_ee_image 이미지를 빌드합니다.
ansible-builder build -t my_first_ee_image
$ ansible-builder build -t my_first_ee_image
여러 정의 파일이 있는 경우 -f 플래그를 사용하여 사용할 항목을 지정할 수 있습니다.
ansible-builder build -f another-definition-file.yml -t another_ee_image
$ ansible-builder build -f another-definition-file.yml -t another_ee_image
위의 예에서 Ansible Builder는 기본 execution-environment.yml 대신 another-definition-file.yml 파일에 제공된 사양을 사용하여 another_ee_image 라는 자동화 실행 환경 이미지를 빌드합니다.
build 명령과 함께 사용할 수 있는 다른 사양 및 플래그의 경우 ansible-builder build --help 를 입력하여 추가 옵션 목록을 확인합니다.