idiv-biodiversity.sysstat
Ansible Role: sysstat
This Ansible role installs and sets up sysstat.
Table of Contents
Requirements
- Ansible version 2 or higher.
Role Variables
You can control whether to collect performance data using the sar
service and scheduled tasks with this variable:
sysstat_sar_service: no
Other settings for data collection:
sysstat_history_days: 28 # how many days to keep history
sysstat_compress_after_days: 31 # when to start compressing data
sysstat_sadc_options: '-S DISK' # options for the collection
sysstat_sa_dir: /var/log/sa # directory for logs
sysstat_compression_program: bzip2 # program used for compression
sysstat_sa2_generate_yesterday: no # whether to generate yesterday's data
sysstat_sa2_generate_reports: false # whether to create reports
Dependencies
There are no dependencies.
Example Playbook
Add this to your requirements.yml
:
---
- src: idiv-biodiversity.sysstat
...
To install, use:
$ ansible-galaxy install -r requirements.yml
Top-Level Playbook
Create a main playbook:
---
- name: head server
hosts: head
roles:
- role: idiv-biodiversity.sysstat
tags:
- sysstat
...
Role Dependency
If your role depends on another, specify it in meta/main.yml
:
---
dependencies:
- role: idiv-biodiversity.sysstat
tags:
- sysstat
...
License
MIT License
Author Information
This role was created in 2018 by Christian Krause, also known as wookietreiber on GitHub, who is an HPC cluster systems administrator at the German Centre for Integrative Biodiversity Research (iDiv).
Installa
ansible-galaxy install idiv-biodiversity.sysstat
Licenza
mit
Download
3.8k