5.3.2. rhaap:create-execution-environment
Ansible Automation Platform 上で、Ansible ジョブの実行に使用するコンテナーイメージを定義した実行環境を作成します。
入力パラメーター
| パラメーター | 型 | 必須 | 説明 |
|---|---|---|---|
|
| string | はい | Ansible Automation Platform 認証用の OAuth2 トークン。 |
|
| boolean | いいえ |
|
|
| object | はい | 実行環境設定オブジェクト。 |
値オブジェクト構造
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
|
| string | はい | 実行環境の名前。 |
|
| string | いいえ | 実行環境の説明。 |
|
| object | はい |
必須の |
|
| string | はい |
レジストリー、イメージ名、タグを含むイメージの完全な場所 (例: |
|
| string | いいえ |
イメージ取得ポリシー: |
出力パラメーター
| パラメーター | 型 | 説明 |
|---|---|---|
|
| object | 作成した実行環境の詳細。 |
|
| number | 実行環境 ID。 |
|
| string | 実行環境名。 |
|
| string | 実行環境の説明。 |
|
| string | 実行環境の Ansible Automation Platform (AAP) URL。 |
例
steps:
- id: create-ee
name: Create Execution Environment
action: rhaap:create-execution-environment
input:
token: ${{ parameters.AAP_TOKEN }}
deleteIfExist: false
values:
environmentName: Custom EE
environmentDescription: Execution environment with custom collections
organization: ${{ parameters.organization }}
image: quay.io/ansible/creator-ee:v0.16.0
pull: missing