Compliance as code

This document provides insight on running compliance as code remediation using an Ansible Playbook.

For more infomation about running compliance as code remediation using a bash script, see Remediation.

1. Run remediation using an Ansible playbook

An Ansible control node is required. For more information, see Setup Ansible control node.

The following procedure will guide you through running remediation using an Ansible Playbook.

Procedure: Run remediation using an Ansible playbook
  1. From the control node system menu select Ansible  Playbooks. Expand the folder tab, then select a playbook.

  2. Click the playbook.

  3. To run the playbook, select the OS Inventory Path for the client, for example:

    /etc/ansible/sles15
  4. Click Schedule.

  5. Check the status of the scheduled event under the Events tab.