Chapter 16. Applying a generated Ansible playbook
When troubleshooting issues with SELinux, the web console is able to generate a shell script or an Ansible playbook that you can then export and apply for more machines.
The web console interface needs to be installed and accessible.
For details, see Installing the web console.
- Click SELinux.
Click "View the automation script" on the upper right side.
A window with the generated script opens. You can navigate between a shell script and an Ansible playbook generation options tab.
- Click the Copy to clipboard button to select the script or playbook and apply it.
As a result, you have an automation script that you can apply to more machines.
- Troubleshootng problems related to SELinux
- Deploying the same SELinux configuration on multiple systems
For details about the
ansible-playbookcommand, see the