Skip to content

DirectorSloan/ansible-role-sysstat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: sysstat

An Ansible role that installs sysstat and configures it.

Table of Contents

Requirements

  • Ansible 2+

Role Variables

This variable controls whether to collect the performance counters with the sar service and cron jobs:

sysstat_sar_service: no

These variables control the collector:

sysstat_files_umask: 0027

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_delay_range: 10

sysstat_sa2_generate_yesterday: no

sysstat_sa2_generate_reports: false

Dependencies

None.

Example Playbook

Add to requirements.yml:

---

- src: idiv-biodiversity.sysstat

...

Download:

$ ansible-galaxy install -r requirements.yml

Top-Level Playbook

Write a top-level playbook:

---

- name: head server
  hosts: head

  roles:
    - role: idiv-biodiversity.sysstat
      tags:
        - sysstat

...

Role Dependency

Define the role dependency in meta/main.yml:

---

dependencies:

  - role: idiv-biodiversity.sysstat
    tags:
      - sysstat

...

License

MIT

Author Information

This role was created in 2018 by Christian Krause aka wookietreiber at GitHub, HPC cluster systems administrator at the German Centre for Integrative Biodiversity Research (iDiv).

About

ansible role that installs sysstat and configures it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%