sync
This commit is contained in:
@@ -1,25 +1,16 @@
|
|||||||
---
|
---
|
||||||
survey_deploy_application:
|
survey_deploy_application:
|
||||||
name: L3 Survey
|
name: Deploy application survey
|
||||||
description: Prompt for interface name, ipv4 and ipv6
|
description: Which application do you want to install?
|
||||||
spec:
|
spec:
|
||||||
- type: text
|
- type: multiplechoice
|
||||||
question_name: Which interface?
|
question_name: Select a command you would like to execute
|
||||||
question_description: Please specify the interface name
|
question_description: select the application
|
||||||
variable: interface_name
|
variable: application
|
||||||
required: true
|
required: true
|
||||||
default: lo0
|
default: httpd
|
||||||
- type: text
|
choices:
|
||||||
question_name: Please set an IPv4 Address
|
- httpd
|
||||||
question_description: e.g. 192.168.1.1/24, it is OK to leave this blank if you are
|
- nginx
|
||||||
using IPv6 only
|
- htop
|
||||||
variable: interface_ipv4
|
- gdb
|
||||||
required: false
|
|
||||||
default: 192.168.1.1/24
|
|
||||||
- type: text
|
|
||||||
question_name: Please Set an IPv6 Address
|
|
||||||
question_description: e.g. fc00::2/64, it is OK to leave this blank if you are using
|
|
||||||
IPv4 only
|
|
||||||
variable: interface_ipv6
|
|
||||||
required: false
|
|
||||||
default: fc00::2/64
|
|
||||||
|
|||||||
25
playbooks/group_vars/all/25_blah.yml
Normal file
25
playbooks/group_vars/all/25_blah.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
test_survey:
|
||||||
|
name: L3 Survey
|
||||||
|
description: Prompt for interface name, ipv4 and ipv6
|
||||||
|
spec:
|
||||||
|
- type: text
|
||||||
|
question_name: Which interface?
|
||||||
|
question_description: Please specify the interface name
|
||||||
|
variable: interface_name
|
||||||
|
required: true
|
||||||
|
default: lo0
|
||||||
|
- type: text
|
||||||
|
question_name: Please set an IPv4 Address
|
||||||
|
question_description: e.g. 192.168.1.1/24, it is OK to leave this blank if you are
|
||||||
|
using IPv6 only
|
||||||
|
variable: interface_ipv4
|
||||||
|
required: false
|
||||||
|
default: 192.168.1.1/24
|
||||||
|
- type: text
|
||||||
|
question_name: Please Set an IPv6 Address
|
||||||
|
question_description: e.g. fc00::2/64, it is OK to leave this blank if you are using
|
||||||
|
IPv4 only
|
||||||
|
variable: interface_ipv6
|
||||||
|
required: false
|
||||||
|
default: fc00::2/64
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "empty survey",
|
|
||||||
"description": "don't use this survey",
|
|
||||||
"spec": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "L3 Survey",
|
|
||||||
"description": "Prompt for interface name, ipv4 and ipv6",
|
|
||||||
"spec": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"question_name": "Which interface?",
|
|
||||||
"question_description": "Please specify the interface name",
|
|
||||||
"variable": "interface_name",
|
|
||||||
"required": true,
|
|
||||||
"default": "lo0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"question_name": "Please set an IPv4 Address",
|
|
||||||
"question_description": "e.g. 192.168.1.1/24, it is OK to leave this blank if you are using IPv6 only",
|
|
||||||
"variable": "interface_ipv4",
|
|
||||||
"required": false,
|
|
||||||
"default": "192.168.1.1/24"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"question_name": "Please Set an IPv6 Address",
|
|
||||||
"question_description": "e.g. fc00::2/64, it is OK to leave this blank if you are using IPv4 only",
|
|
||||||
"variable": "interface_ipv6",
|
|
||||||
"required": false,
|
|
||||||
"default": "fc00::2/64"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user