-
Notifications
You must be signed in to change notification settings - Fork 17
/
actions.yaml
47 lines (46 loc) · 1.4 KB
/
actions.yaml
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
45
46
47
pause:
description: Put hacluster unit in crm standby mode which migrates resources
from this unit to another unit in the hacluster
resume:
description: Take hacluster unit out of standby mode
cleanup:
description: Trigger cluster resource cleanup
params:
resource:
default: "all"
type: string
description: Resource name to cleanup
status:
description: Show cluster status
params:
resources:
default: true
type: boolean
description: Show cluster resources
history:
default: false
type: boolean
description: Show cluster status history
update-ring:
description: |
Trigger corosync node members cleanup.
WARNING This action updates the corosync cluster members by adding or
removing nodes, which may lead to a loss of quorum and other unexpected
side-effects. It is strongly encouraged to manually remove nodes
individually using the delete-node-from-ring action.
params:
i-really-mean-it:
type: boolean
description: |
This must be toggled to enable actually performing this action.
required:
- i-really-mean-it
delete-node-from-ring:
description: Delete a node from the corosync ring. Must be run on the hacluster leader node.
params:
node:
type: string
description: |
Node name to be removed. i.e. hostname of the node
required:
- node