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.
Operating system support for /proc/diskstats, Debian compatibility.
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.
None.
- hosts: raspberrypis
roles:
- { role: infothrill.hd_idle }
- 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
- 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+
- increase timeout for download to 60 sec
- explicitly set owner of unpacked source code to
root
- dropped support for ansible 2.4
- added support for ansible 2.8
- switched testing toolchain to python 3.6
- upgraded molecule and ansible-lint
- added testing for ansible 2.8
- added experimental test for debian buster
- added basic lint/syntax test using travis
- renamed role to
hd_idle
(fromhd-idle
)
- added test for ansible 2.6
- 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
- upgraded molecule
- fixed molecule paybook
- added test for ansible 2.3
- fixed deprecation warnings in ansible 2.3
- initial release
MIT
This role was created in 2017 by Paul Kremer.