mellanox.onyx.onyx_syslog_files – Configure file management syslog module¶
Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_syslog_files
.
New in version 0.2.0: of mellanox.onyx
Parameters¶
Examples¶
- name: Syslog delete old files
- onyx_syslog_files:
delete_group: oldest
- name: Syslog upload file
- onyx_syslog_files:
upload_url: scp://username:password@hostnamepath/filename
upload_file: current
- name: Syslog rotation force, frequency and max number
- onyx_syslog_files:
rotation:
force: true
max_num: 30
frequency: daily
size: 128
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Anas Shami (@anass)