Skip to content

geerlingguy/ansible-role-hdparm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: hdparm

CI

Installs hdparm on Debian/Ubuntu Linux servers.

Requirements

None.

Role Variables

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

hdparm_manage_config: true

Whether this role should manage the hdparm config.

hdparm_devices: []
  # - dev: /dev/sda
  #   options:
  #     - "spindown_time = 120"

Options to set per device. Only used if hdparm_manage_config is true.

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - geerlingguy.hdparm

License

MIT / BSD

Author Information

This role was created in 2016 by Jeff Geerling, author of Ansible for DevOps.