Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions tasks/install_agent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"description": "Install the OpenVox agent package",
"parameters": {
"version": {
"description": "The version of openvox-agent to install (defaults to latest when no agent is installed)",
"type": "Optional[String[1]]"
},
"collection": {
"description": "The OpenVox collection to install from (defaults to openvox8, which maps to the latest collection released)",
"type": "Optional[Enum[openvox7, openvox8]]"
},
"absolute_source": {
"description": "The absolute source location to find the OpenVox agent package",
"type": "Optional[String[1]]"
},
"yum_source": {
"description": "The source location to find yum repos (defaults to yum.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"apt_source": {
"description": "The source location to find apt repos (defaults to apt.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"mac_source": {
"description": "The source location to find mac packages (defaults to downloads.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"windows_source": {
"description": "The source location to find windows packages (defaults to downloads.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"install_options": {
"description": "optional install arguments to the windows installer (defaults to REINSTALLMODE=\"amus\")",
"type": "Optional[String[1]]"
},
"stop_service": {
"description": "Whether to stop the openvox agent service after install",
"type": "Optional[Boolean]"
},
"retry": {
"description": "The number of retries in case of network connectivity failures",
"type": "Integer[0]",
"default": 5
}
},
"implementations": [
{
"name": "install_agent_shell.sh",
"requirements": ["shell"],
"files": ["facts/tasks/bash.sh"],
"input_method": "environment"
}
],
"supports_noop": true
}
50 changes: 50 additions & 0 deletions tasks/install_agent_shell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"description": "Install the OpenVox agent package",
"private": true,
"input_method": "environment",
"parameters": {
"version": {
"description": "The version of openvox-agent to install",
"type": "Optional[String[1]]"
},
"collection": {
"description": "The OpenVox collection to install from (defaults to openvox8, which maps to the latest collection released)",
"type": "Optional[Enum[openvox7, openvox8]]"
},
"absolute_source": {
"description": "The absolute source location to find the OpenVox agent package",
"type": "Optional[String[1]]"
},
"yum_source": {
"description": "The source location to find yum repos (defaults to yum.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"apt_source": {
"description": "The source location to find apt repos (defaults to apt.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"mac_source": {
"description": "The source location to find mac packages (defaults to downloads.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"windows_source": {
"description": "The source location to find windows packages (defaults to downloads.voxpupuli.org)",
"type": "Optional[String[1]]"
},
"install_options": {
"description": "optional install arguments to the windows installer (defaults to REINSTALLMODE=\"amus\")",
"type": "Optional[String[1]]"
},
"stop_service": {
"description": "Whether to stop the voxpupuli agent service after install",
"type": "Optional[Boolean]"
},
"retry": {
"description": "The number of retries in case of network connectivity failures",
"type": "Integer[0]",
"default": 5
}
},
"files": ["facts/tasks/bash.sh"],
"supports_noop": true
}
Loading
Loading