stonesoupkitchen.apparmor

CI

Ansible Role: AppArmor

This is an Ansible role for setting up AppArmor on Linux systems.

Requirements

Supported operating systems:

  • Debian 10 (Buster)
  • Debian 11 (Bullseye)

Role Variables

Here’s a list of variables you can change, along with their default values:

Name Default Value Description
apparmor_package apparmor Name of the AppArmor package. You can specify a version using name=version.
apparmor_package_state present State for the AppArmor package installation.
apparmor_utils_package apparmor-utils Name of the AppArmor utilities package. You can specify a version using name=version.
apparmor_utils_package_state present State for the AppArmor utilities package installation.

Examples

Here’s an example of how to use this role:

- hosts: all
  roles:
    - stonesoupkitchen.apparmor

Development

A Makefile is included to help with development using pipenv. After cloning this repository, run the following commands to set up your environment:

pipenv install --dev

To check your changes using ansible-lint:

make lint

To run tests using molecule:

make test

License

Please see LICENSE.

Informazioni sul progetto

Configure AppArmor on Debian-based systems

Installa
ansible-galaxy install stonesoupkitchen.apparmor
Licenza
bsd-3-clause
Download
23.4k
Proprietario
Open source software for like-minded people.