systemd_power_management
With this role the power management can be controlled via Systemd.
Requirements
None
Role Variables
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
Name | Type | Default value | Purpose | Comment | Role |
---|---|---|---|---|---|
systemd_configure_power_management | Boolean | false | central variable to activate the role | - | systemd_power_management |
systemd_disable_sleep | Boolean | false | prevents the system from going into sleep mode | - | systemd_power_management |
systemd_disable_suspend | Boolean | false | prevents the system from going into suspend mode | - | systemd_power_management |
systemd_disable_hibernate | Boolean | false | prevents the system from going into hibernate mode | - | systemd_power_management |
systemd_disable_hybrid_sleep | Boolean | false | prevents the system from going into hybrid-sleep mode | - | systemd_power_management |
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
-
Author Information
Author: Christian Schneider christian.schneider@id.ethz.ch Maintainer: ID Product Center - Linux Client