Tidy
Tidy Pack.#
This Integration is part of the#
Tidy#
DescriptionUsually, the main bottlenecks in an on-boarding process are the various software and programs required for the new recruit's computer. Whether if it's a developer, customer success engineer, or a product specialist, on average it takes about three days to get everything up and running. Also, this process generally requires help from other colleagues. The Tidy pack reduces the on-boarding process for new recruits to a matter of minutes. The Tidy pack uses Ansible to connect to the new recruit's laptop over ssh and executing predefined commands.
#
Main use casesWith the Tidy pack you can create a role-based playbook that will execute all required installations for the new recruit.
- Install languages with specific versions (currently Python, Node and Go are supported).
- Create a GitHub SSH key and clone all relevant git repositories.
- Install all relevant programs using homebrew.
- Install zsh and configure bash_profile / bash_rc.
#
Supported actions- Install pyenv with specific Python versions.
- Install goenv with specific Go versions.
- Install nodenv with specific Node versions.
- Install packages on Mac-OS using homebrew.
- Generate a github ssh-key (a GitHub token is required - see here for instructions)
- Clone a git repository into a selected path, this command requires a github ssh key on the machine to work.
- Configure the git cli using key-value parameters in a selected scope.
- Install zsh on the machine.
- Edit a file, can be used to modify the configuration file or bash_profile file on the machine.
- Install OSx command line tools on the machine.
- Execute a command on the machine.
#
tidy-pyenvInstall Python versions, Using Pyenv.
#
Base Commandtidy-pyenv
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
versions | Python versions to be installed. Default is 2.7.18,3.8.5. | Required |
globals | Python versions to define as globals in enviorment. Default is 3.8.5. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-goenvInstall GoLang versions, Using Goenv.
#
Base Commandtidy-goenv
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
versions | GoLang versions to be installed. Default is 1.16.0. | Required |
globals | GoLang versions to define as globals in enviorment. Default is 1.16.0. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-nodenvInstall Node.js versions, Using nodenv.
#
Base Commandtidy-nodenv
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
versions | Node.js versions to be installed. Default is 12.20.1. | Required |
globals | Node.js versions to define as globals in enviorment. Default is 12.20.1. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-homebrewInstall and configure homebrew, Install additional homebrew/-cask packages.
#
Base Commandtidy-homebrew
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
apps | Comma seprated list of homebrew packages (https://formulae.brew.sh/). | Optional |
cask_apps | Comma seprated list of homebrew cask packages (https://formulae.brew.sh/cask/). | Optional |
homebrew_taps | Hombrew taps packages to install. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-github-ssh-keyGenerate private/public key, Configure ssh client, and deploy keys to your GitHub account.
#
Base Commandtidy-github-ssh-key
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
access_token | GitHub access token with public keys admin permissions.. (https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token). | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-git-cloneClone git repository to destination.
#
Base Commandtidy-git-clone
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
repo | Repository to be cloned (SSH/HTTPS). | Required |
dest | The path of where the repository should be checked out. | Required |
force | If yes, any modified files in the working repository will be discarded. Possible values are: yes, no. Default is no. | Required |
update | If no, do not retrieve new revisions from the origin repository. Possible values are: yes, no. Default is yes. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-git-configConfigure git cli.
#
Base Commandtidy-git-config
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
key | The name of the setting. . Possible values are: user.name, user.email, core.editor. | Required |
value | Git key: value to set. | Required |
scope | Specify which scope to read/set values from. . Possible values are: local, global, system. Default is global. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-zshInstall zsh, oh-my-zsh.
#
Base Commandtidy-zsh
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-block-in-fileInsert/update/remove a block of multi-line text surrounded by customizable marker lines.
#
Base Commandtidy-block-in-file
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
path | The file to modify. | Required |
block | Text block to be added. | Required |
marker | Marker to manage block if needed to change in the future. Default is " ". | Required |
create | Create a new file if it does not exist. Possible values are: yes, no. Default is yes. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-execRun command in host.
#
Base Commandtidy-exec
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
command | Bash command to execute. | Required |
chdir | Change directory before executing command. Default is $HOME. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-osx-command-line-toolsInstall OSx command line tools.
#
Base Commandtidy-osx-command-line-tools
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-demisto-serverSet demisto developement server.
#
Base Commandtidy-demisto-server
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-demisto-web-clientSet demisto developement web-client.
#
Base Commandtidy-demisto-web-client
#
InputArgument Name | Description | Required |
---|---|---|
hostname | Endpoint IP/URL to be installed. | Optional |
user | Endpoint user to be installed. | Optional |
password | User login password. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Tidy.Install.Status | String | The status of the installation |
Tidy.Install.ReturnCode | Number | The return code of the ansible execution |
Tidy.Install.Canceled | Boolean | Whether the execution was canceled |
Tidy.Install.Errored | Boolean | Whether the execution has encountered an error |
Tidy.Install.TimedOut | Boolean | Whether the execution has timed out |
Tidy.Install.Stats | String | Aditional stats about the ansible execution |
Tidy.Install.InstalledSoftware | String | The name of the installed software |
Tidy.Install.AdditionalInfo | String | Additinal information about the installed software |
#
tidy-python-envInstall python environment.
#
Base Commandtidy-python-env
#
InputArgument Name | Description | Required |
---|
#
Context OutputThere is no context output for this command.