https://github.com/idiv-biodiversity/ansible-role-sysstat
ansible role that installs sysstat and configures it
https://github.com/idiv-biodiversity/ansible-role-sysstat
ansible ansible-galaxy ansible-role sysstat
Last synced: 2 months ago
JSON representation
ansible role that installs sysstat and configures it
- Host: GitHub
- URL: https://github.com/idiv-biodiversity/ansible-role-sysstat
- Owner: idiv-biodiversity
- License: mit
- Created: 2018-02-28T13:32:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T11:09:30.000Z (almost 3 years ago)
- Last Synced: 2023-07-31T12:52:55.099Z (almost 3 years ago)
- Topics: ansible, ansible-galaxy, ansible-role, sysstat
- Language: Jinja
- Homepage: https://galaxy.ansible.com/idiv_biodiversity/sysstat
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: sysstat
=====================
An Ansible role that installs [sysstat][] and configures it.
Table of Contents
-----------------
- [Requirements](#requirements)
- [Role Variables](#role-variables)
- [Dependencies](#dependencies)
- [Example Playbook](#example-playbook)
* [Top-Level Playbook](#top-level-playbook)
* [Role Dependency](#role-dependency)
- [License](#license)
- [Author Information](#author-information)
Requirements
------------
- Ansible 2+
Role Variables
--------------
This variable controls whether to collect the performance counters with the sar service and cron jobs:
```yml
sysstat_sar_service: no
```
These variables control the collector:
```yml
sysstat_history_days: 28
sysstat_compress_after_days: 31
sysstat_sadc_options: '-S DISK'
sysstat_sa_dir: /var/log/sa
sysstat_compression_program: bzip2
sysstat_sa2_generate_yesterday: no
sysstat_sa2_generate_reports: false
```
Dependencies
------------
None.
Example Playbook
----------------
Add to `requirements.yml`:
```yml
---
- src: idiv-biodiversity.sysstat
...
```
Download:
```console
$ ansible-galaxy install -r requirements.yml
```
### Top-Level Playbook
Write a top-level playbook:
```yml
---
- name: head server
hosts: head
roles:
- role: idiv-biodiversity.sysstat
tags:
- sysstat
...
```
### Role Dependency
Define the role dependency in `meta/main.yml`:
```yml
---
dependencies:
- role: idiv-biodiversity.sysstat
tags:
- sysstat
...
```
License
-------
MIT
Author Information
------------------
This role was created in 2018 by [Christian Krause][author] aka [wookietreiber at GitHub][wookietreiber], HPC cluster systems administrator at the [German Centre for Integrative Biodiversity Research (iDiv)][idiv].
[author]: https://www.idiv.de/en/groups_and_people/employees/details/61.html
[idiv]: https://www.idiv.de/
[wookietreiber]: https://github.com/wookietreiber
[sysstat]: http://sebastien.godard.pagesperso-orange.fr/