Git Product home page Git Product logo

ansible-role-hd_idle's Introduction

Ansible role: hd_idle

Build status Ansible Role

Install hd-idle from source. This program is useful to spin down harddrives after a given timeout of inactivity. This can save power and maybe extend the lifespan of the spinning disk.

Requirements

Operating system support for /proc/diskstats, Debian compatibility.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

hd_idle_version: 1.05

The version to install. If changed, hd_idle_checksum also needs to be adapted.

hd_idle_checksum: sha256:4efefe79d145b50e055582730d9d685e485da3df3dad90fef030036d52aa3a0c

The checksum. We do this to enable trust in the downloaded code as well as enabling downloads without https cert verification (which is problematic on old python installs).

hd_idle_compile_dir: /tmp/hd_idle

The directory to use for compilation purposes.

Dependencies

None.

Example Playbook

- hosts: raspberrypis
  roles:
     - { role: infothrill.hd_idle }

Changelog

2.1.0

  • Code linted to modern standards and minor security risks adressed (file permissions)
  • Drop support for ansible older than 5
  • Drop support for python older than 3.8
  • Switch to Github Actions for CI

2.0.2

  • Drop support for ansible older than 2.9
  • Upgrade molecule to 3.0.x
  • added support for ansible 2.10, 3.0
  • add support for python 3.7+

2.0.1

  • increase timeout for download to 60 sec
  • explicitly set owner of unpacked source code to root

2.0.0

  • dropped support for ansible 2.4
  • added support for ansible 2.8
  • switched testing toolchain to python 3.6
  • upgraded molecule and ansible-lint

1.4.1

  • added testing for ansible 2.8
  • added experimental test for debian buster

1.4.0

  • added basic lint/syntax test using travis
  • renamed role to hd_idle (from hd-idle)

1.3

  • added test for ansible 2.6

1.2.0

  • added test for ansible 2.4, 2.5
  • dropped support for ansible 2.1
  • upgraded molecule to 2.15
  • added test for debian stretch 9.4

1.2.0

  • upgraded molecule
  • fixed molecule paybook

1.1.0

  • added test for ansible 2.3
  • fixed deprecation warnings in ansible 2.3

1.0.0

  • initial release

License

MIT

Author Information

This role was created in 2017 by Paul Kremer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.