Skip to content

Ansible role to configure sysfs settings

License

Notifications You must be signed in to change notification settings

rolehippie/sysfs

Repository files navigation

sysfs

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to configure sysfs settings.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

sysfs_defaults

List of global sysfs settings

Default value

sysfs_defaults: []

Example usage

sysfs_defaults:
  - name: kernel/mm/transparent_hugepage/enabled
    value: never
  - name: kernel/mm/transparent_hugepage/defrag
    value: never
  - name: power/stat
    mode: 0660
    owner: root:power

sysfs_extra

List of extra sysfs settings

Default value

sysfs_extra: []

Example usage

sysfs_extra:
  - name: kernel/mm/transparent_hugepage/enabled
    value: never
  - name: kernel/mm/transparent_hugepage/defrag
    value: never
  - name: power/stat
    mode: 0660
    owner: root:power

Discovered Tags

sysfs

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger