20.5. 利用可能な Webhook イベント

次の表には、Satellite web UI から利用できる Webhook イベントのリストが含まれています。Action イベントは success した場合にのみ Webhook をトリガーするため、アクションが失敗した場合、Webhook はトリガーされません。

ペイロードの詳細については、Administer > About > Support > Templates DSL アクセスしてください。使用可能なタイプのリストを次の表に示します。一部のイベントは custom としてマークされます。その場合、ペイロードはオブジェクトオブジェクトですが、Ruby ハッシュ (Key-Value データ構造) であるため、構文が異なります。

イベント名説明ペイロード

Actions Katello Content View Promote Succeeded

コンテンツビューが正常にプロモートされました。

Actions::Katello::ContentView::Promote

Actions Katello Content View Publish Succeeded

リポジトリーは正常に同期されました。

Actions::Katello::ContentView::Publish

Actions Remote Execution Run Host Job Succeeded

ホストの汎用リモート実行ジョブが成功しました。このイベントは、完了すると、すべてのリモート実行ジョブに対して発行されます。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Errata Install Succeeded

Katello インターフェイスを使用してエラータをインストールします。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Group Install Succeeded

Katello インターフェイスを使用してパッケージグループをインストールします。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Install Succeeded

Katello インターフェイスを使用してパッケージをインストールします。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Group Remove

Katello インターフェイスを使用してパッケージグループを削除します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Remove Succeeded

Katello インターフェイスを使用してパッケージを削除します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Service Restart Succeeded

Katello インターフェイスを使用してサービスを再起動します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Group Update Succeeded

Katello インターフェイスを使用してパッケージグループを更新します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Update Succeeded

Katello インターフェイスを使用してパッケージを更新します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Foreman OpenSCAP Run Scans Succeeded

OpenSCAP スキャンを実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Run Host Succeeded

ホストに定義されたすべてのロールを含む Ansible Playbook を実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Run Capsule Upgrade Succeeded

特定の Capsule Server ホストで Capsule をアップグレードします。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Configure Cloud Connector Succeeded

特定のホストで Cloud Connector を設定します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Run Insights Plan Succeeded

ID を指定して Red Hat から指定されたメンテナーンスプランを実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Run Playbook Succeeded

特定のホストに対して Ansible Playbook を実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Enable Web Console Succeeded

Ansible Playbook を実行して、特定のホストで Web コンソールを有効にします。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Puppet Run Host Succeeded

Puppet を 1 回実行します。

Actions::RemoteExecution::RunHostJob

アクションリモート実行ホストジョブの実行 Katello モジュールストリームアクションを成功させる

Katello インターフェイスを使用してモジュールストリームアクションを実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Leapp Pre-upgrade Succeeded

RHEL7 ホストのアップグレード可能性チェック。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Leapp Remediation Plan Succeeded

Leapp で修復計画を実行します。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Leapp Upgrade Succeeded

RHEL7 ホストの Leapp アップグレードジョブを実行します。

Actions::RemoteExecution::RunHostJob

Build Entered

ホストがビルドモードに入りました。

カスタムイベント: @payload[:id] (ホスト ID)、@payload[:hostname] (ホスト名)。

Build Exited

ホストビルドモードがキャンセルされました。正常にプロビジョニングされたか、ユーザーが手動でビルドをキャンセルしました。

カスタムイベント: @payload[:id] (ホスト ID)、@payload[:hostname] (ホスト名)。

Content View Created/Updated/Destroyed

コンテンツビューでの一般的なデータベース操作。

Katello::ContentView

Domain Created/Updated/Destroyed

ドメインでの一般的なデータベース操作。

ドメイン

Host Created/Updated/Destroyed

ホストでの一般的なデータベース操作。

ホスト

Hostgroup Created/Updated/Destroyed

ホストグループでの一般的なデータベース操作。

Hostgroup

Model Created/Updated/Destroyed

モデルに対する一般的なデータベース操作。

モデル

Status Changed

ホストのグローバルホストステータスが変更されました。

カスタムイベント: @payload[:id] (ホスト ID)、@payload[:hostname]@payload[:global_status] (ハッシュ)

Subnet Created/Updated/Destroyed

サブネットでの一般的なデータベース操作。

サブネット

Template Render Performed

レポートテンプレートがレンダリングされました。

テンプレート

User Created/Updated/Destroyed

ユーザーに対する一般的なデータベース操作。

User