manala.apparmor
#######################################################################################################
:exclamation: DEPRECATION :exclamation:
This repository and the role associated are deprecated in favor of the Manala Ansible Collection
You will find informations on its usage on the collection repository
#######################################################################################################
Ansible Role: AppArmor 
:exclamation: Report issues and send Pull Requests in the main Ansible Role repository :exclamation:
This role will deal with the setup of AppArmor.
It's part of the Manala Ansible stack but can be used as a stand alone component.
Requirements
None.
Dependencies
None.
Installation
Ansible 2+
Using ansible galaxy cli:
ansible-galaxy install manala.apparmor
Using ansible galaxy requirements file:
- src: manala.apparmor
Role Handlers
| Name | Type | Description |
|---|---|---|
apparmor reload |
Service | Reload apparmor configs |
Role Variables
| Name | Default | Type | Description |
|---|---|---|---|
manala_apparmor_install_packages |
~ | Array | Dependency packages to install |
manala_apparmor_install_packages_default |
['apparmor'] | Array | Default dependency packages to install |
manala_apparmor_configs_dir |
'/etc/apparmor.d' | String | Configurations directory path |
manala_apparmor_configs |
[] | Array | Configurations templates |
Example playbook
- hosts: all
vars:
manala_apparmor_configs:
- file: lxc/lxc-profile-a
template: lxc-default.j2
- file: lxc/lxc-old-profile
state: absent
roles:
- { role: manala.apparmor }
Licence
MIT
Author information
Manala (http://www.manala.io/)
Install
ansible-galaxy install manala.apparmorLicense
Unknown
Downloads
44.2k
Owner
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.
