Ansible role that configures logging level on network devices.
The configuration of the role is done so that it shouldn't be necessary to modify the role for any configuration. All settings can be configured by changing role parameters or by declaring new config as variable.
Please report any issues or send PR.
---
- name: Example of how to configure logging
hosts: sw1
vars:
logging:
monitor:
state: present
level: 5
console:
state: present
level: 2
roles:
- Ansible-network_logging
---
# Define the logging level to be configured (see README for examples)
logging: { }
Apache
Dan Murarasu