이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 4. Executing remediation playbooks


After you create a remediation playbook, you can download and run the playbook using your organization’s Ansible workflow, or execute the playbook on remote systems from the Insights for Red Hat Enterprise Linux application.

4.1. Executing remediation playbooks from the Insights User Interface

You can execute remediation playbooks directly from the Red Hat Insights UI on the Red Hat Hybrid Cloud Console. You must complete four prerequisites before you can do so. Detailed instructions for completing the prerequisites follow the main procedure.

Prerequisites

  • You must be logged in to the Red Hat Hybrid Cloud Console.
  • You must enable the Remote Host Configuration client (rhc connect) in the command line.
  • You must enable Remote Host Configuration Manager in the UI.
  • You must be a member of a User Access group with the Remediations administrator role.
Note

The Remediations administrator role is NOT a default role. You must create the group and add yourself to the group. For more information about User Access permissions, see the following: Managing group access with roles and members

Procedure

  1. Navigate to Automation Toolkit > Remediations.
  2. Select a remediation playbook by clicking the playbook name.
  3. Click Execute playbook.
  4. On the popup menu, click Execute playbook on systems. The playbook runs on those systems.
Note

If Execute playbook is disabled, you need to satisfy the prerequisites listed above to use this feature. Alternately, you can hover your cursor over Execute playbook and you will see the Remediations Readiness Check tooltip. The tooltip identifies prerequisites that are not complete. Click the incomplete prerequisite and follow the link for further instructions or you can see the detailed procedures below.

User Access Configuration Guide for Role-based Access Control (RBAC)

4.1.1. Enabling Remote Host Configuration client (RHC connect) in the command line

You must run RHC client (rhc connect) in the command line to enable host communication. Follow this procedure to learn if your host is connected:

Procedure

  1. Navigate to Automation Toolkit > Remediations.
  2. Choose the remediation playbook you want to run.
  3. Click on the Systems tab and view the Connection Status to the right of your remediation.
Note

If your Connection Status is Unknown, this means you do not have the correct User Access permissions to view the status. Click the ? icon to the left to learn how to change User Access permissions to view this data.

Additional Resources

For more information on the rhc connect command, see the following: Enabling the rhc client on systems directly managed by Insights

4.1.2. Enabling Remote Host Configuration Manager in the UI

You must enable Remote Host Configuration Manager in the UI to execute remediation playbooks. Complete the following steps:

Procedure

  1. Navigate to Remote Host Configuration Manager.
  2. Locate the Permission section on the left, look at the first option, Allow Insights users to use Remediations to send Ansible Playbooks to fix issues on your systems.
  3. If Disabled is selected, click Change settings on the left side of your screen.
  4. Change the Status toggle to Enabled.
  5. Click Save changes on the left side of your screen.
  6. A Changes saved confirmation box will appear at the top right corner of your screen.

4.2. Executing remediations from the Satellite User Interface

You can also remediate using the Satellite User Interface.

Prerequisites

  • You are a Cloud Administrator.
  • You are a Remediations Administrator.
  • You have completed Host registration using the Insights client.

For specific instructions, see Creating an Insights Remediation Plan for Hosts in the Satellite Managing Hosts documentation.

Note

When you introduce a new host into your Satellite inventory, by means of provisioning or registration, two automatic background tasks will initiate. It will take 24 hours for these tasks to complete. This is a typical time frame for the automatic synchronization.

If you identify security issues or another scenario that warrants not waiting 24 hours for the automatic sync, you can manually synchronize by clicking the sync button in the UI. This manual sync will complete in a few minutes.

To see the procedures for enabling automatic and manual synchronization, see the Configuring Synchronization of Insights Recommendations for Hosts in the Satellite documentation.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

© 2024 Red Hat, Inc.