Commit 7c6b83db authored by nono's avatar nono
Browse files


parent 5658693c
Role Name
# Logging-LQDN
Configuration des fichiers de log à travers journald, logrotate et auditd.
Sur chaque machine, on considère trois niveaux de log :
- Les logs du Kernel
- Les logs du système & services de base ( connexion SSH, commandes shell )
- Les logs des applications
Ce rôle se charger de plusieurs choses ;
- Il va configurer chaque service ( JournalD, LogRotate, AuditD ) sur les machines
- Les logs serons envoyés sur une machine adminitratrice pour l'analyse
- Ils ne seront gardé qu'un temps donné, et anonymisé selon les besoins
- Ils aurons une configuration spécifique selon le(s) service(s) en route
A brief description of the role goes here.
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
### JournalD
### LogRotate / Rsyslog
### AuditD
| Variable | Valeur par défaut | Valeurs possibles| Commentaires |
| retention | 4 ( semaines ) | -1 =< x < 52 | |
| admin_server | | IPv4 or IPv6 | | |
| sysadmin_email | | Email | |
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
- hosts: admin
- logging-lqdn
- hosts: server
- { role: username.rolename, x: 42 }
- logging-lqdn
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment