summaryrefslogtreecommitdiffstats
path: root/roles/logind/meta/argument_specs.yml
blob: 4dca7643d21fb97098e6f98507a34d54ac2577f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
argument_specs:
  main:
    options:
      logind_lid_battery_action:
        type: "str"
        description: "HandleLidSwitch — action when lid closed on battery"
        default: "suspend"
        choices:
          - "ignore"
          - "suspend"
          - "hibernate"
          - "hybrid-sleep"
          - "suspend-then-hibernate"
          - "lock"
          - "poweroff"
      logind_lid_ac_action:
        type: "str"
        description: "HandleLidSwitchExternalPower — action when lid closed on AC power"
        default: "suspend"
        choices:
          - "ignore"
          - "suspend"
          - "hibernate"
          - "hybrid-sleep"
          - "suspend-then-hibernate"
          - "lock"
          - "poweroff"
      logind_idle_action:
        type: "str"
        description: "IdleAction — action after idle timeout"
        default: "suspend"
        choices:
          - "ignore"
          - "suspend"
          - "hibernate"
          - "hybrid-sleep"
          - "suspend-then-hibernate"
          - "lock"
          - "poweroff"
      logind_idle_delay:
        type: "int"
        description: "IdleActionSec in seconds (0 disables idle action)"
        default: 0