-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.spec
98 lines (92 loc) · 4.31 KB
/
plugin.spec
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
config:
plugin_type: provision
subparsers:
beaker:
description: Provision systems using Beaker
include_groups: ['Ansible options', 'Inventory', 'Common options', 'Answers file']
groups:
- title: Beaker instance access details
options:
url:
type: Value
help: 'URL of Beaker instance'
required: True
beaker-user:
type: Value
help: 'Valid username in Beaker instance'
default: admin
required: True
beaker-password:
type: Value
help: "User's password"
required: True
web-service:
type: Value
help: 'For cases where the beaker user is not part of the kerberos system, we require to set the Web service to RPC for authentication rather than rest'
default: rpc
choices: ['rest', 'rpc']
required: True
ca-cert:
type: Value
help: 'For cases where the beaker user is not part of the kerberos system, a CA Certificate is required for authentication with the Beaker server'
required: False
dry:
type: Bool
help: 'Skip provisioning/releasing but run rest of playbooks - useful for debugging'
default: False
required: False
- title: Details of provisioned host
options:
host-address:
type: Value
help: 'Address/FQDN of the machine registered in Beaker instance'
required: True
host-user:
type: Value
help: 'User to SSH to the host with'
default: root
required: False
host-password:
type: Value
help: "User's/group's 'Default root password' which is host initially accessible by (can be found in User preferences in web GUI)"
required: False
- title: Base Beaker image to be used for provisioning
options:
image:
type: VarFile
help: |
The image to use for nodes provisioning. Check the "sample.yml.example" for example.
Should default to latest RHEL released.
__LISTYAMLS__
default: 'rhel-7.3'
required: False
- title: Post-deploy options
options:
host-privkey:
type: FileValue
help: "Specify path to private SSH key to be added to 'hosts' file used later to connect to host where 'host-pubkey' will be inserted"
required: True
host-pubkey:
type: FileValue
help: "Specify file with user's public SSH key which will be inserted to authorized_keys of host-user as post-deployment step"
required: True
- title: Host groups
options:
groups:
type: ListValue
help: |
Comma separated list of groups to which your host should be added.
For example - baremetal,undercloud,tester.
Possible values: baremetal, undercloud, tester, hypervisor.
default: baremetal,undercloud,tester
- title: Release host and return it to Beaker's pool
options:
comment:
type: Value
help: 'Short (60 chars max) description to be stored in node history in Beaker as value of field "Loan Comment"'
required: False
release:
type: Bool
help: 'Release system which was previously reserved by beaker-user'
default: False