Skip to content

Automation window

The Automation tool window (right side by default) works on one project of the projects list (the same list as the Agents window). Opening a project here does not change the work folder of the Git menu, the Debug tool and the agents.

KryoDesk looks at the files of the folder and four levels below (at most 1500 folders; node_modules, vendor, venv, ansible_collections, hidden folders and the like are skipped). Nothing from the project runs during detection. Every action is one line: it is shown first, then runs in a tab of the bottom Terminal panel with the run bar. Actions that change hosts or infrastructure, or run the project’s own code, are orange and ask for confirmation with the full line. Passwords and yes prompts are answered in the terminal; KryoDesk never sees them.

Automation window with a playbook check

Control What it does
Project list The automation project (localStorage automation-project).
Folder with + Adds a folder as a project and opens it here.
Refresh Detects again.
Show in Project Shows the project in the Project window.
Show in Files Lists the folder in the left pane of the Files window.

Recognised: ansible.cfg ([defaults] inventory, remote_user, vault_password_file path, roles_path, collections_path; [privilege_escalation] become), playbooks (YAML lists of plays with hosts: or import_playbook:, outside role, variable and inventory folders), inventories (inventory* and hosts* files in the root, inventory/, everything in inventories/; an executable file = script, plugin: = inventory plugin), roles (roles/<name>/tasks or meta), requirements.yml, Molecule scenarios, vault-encrypted files ($ANSIBLE_VAULT; or !vault in group_vars, host_vars, vars, defaults) and plugin folders (library/, filter_plugins/, …).

Playbook form:

Field Line
Playbook ansible-playbook <playbook>
Inventory -i <inventory>; ansible.cfg = no -i
Limit --limit '<pattern>'; letters, digits and _ . - : , * ! & [ ] ~ ^ $ ? | ( ) +, not starting with - or @
Tags, Skip tags --tags a,b, --skip-tags a,b; plain tag names
diff --diff (Check and Run)
vault password, become password, SSH password --ask-vault-pass, --ask-become-pass, --ask-pass: asked by Ansible in the terminal. Vault password is ticked when vault files exist and ansible.cfg names no password file.
verbosity -v … -vvvv
Button Adds Connects to hosts
Syntax --syntax-check no
Hosts --list-hosts no (a script or plugin inventory still runs; a script inventory makes every line confirmed)
Tasks --list-tasks no
Check --check yes; warns when the playbook has tasks with check_mode: false
Run… nothing yes, makes changes (confirmation)

Other actions: Version and config (ansible --version), Changed settings (ansible-config dump --only-changed), Inventory graph per inventory (ansible-inventory -i <inv> --graph), Install requirements.yml (ansible-galaxy install -r, collection install -r for collections/requirements.yml), Lint (ansible-lint --offline), Build collection (with galaxy.yml), Molecule syntax and test… per scenario (molecule test -s <scenario> in the folder holding molecule/).

Every folder with *.tf, *.tf.json or *.tofu files. Folders below modules/ are child modules (only Init, Validate, Fmt). Shown per folder: backend type or cloud {} organization, required_version, providers and versions from .terraform.lock.hcl, whether .terraform/ exists, the selected workspace (.terraform/environment), local workspaces (terraform.tfstate.d/), .terraform-version / .opentofu-version.

The CLI list picks tofu or terraform; tofu is the default when it is installed or neither is. A folder with *.tofu files refuses terraform.

Button Line (in the configuration folder)
Init init, init -upgrade with -upgrade
Validate validate
Fmt fmt -check -diff -recursive
Plan plan [-var-file=<file>]
Apply… apply [-var-file=<file>]: confirmation here, then yes in the terminal
Destroy… destroy [-var-file=<file>]: confirmation here, then yes in the terminal
Workspaces, Select, New workspace list, workspace select <name>, workspace new <name>
Output, State, Providers output, state list, providers

With a Workspace filled in, Plan, Apply, Destroy, Output and State run <cli> workspace select <name> && <cli> <command>; the selection stays in .terraform/environment. Workspace names: letters, digits, - _ ., not starting with -. Var file lists *.tfvars and *.tfvars.json of the folder and one level below; terraform.tfvars and *.auto.tfvars are loaded by the CLI anyway and are named in the warnings.

Terraform configuration with a plan line

Found Actions
Executable *.sh, *.bash, *.zsh, *.py with a #! line (not in files/, templates/, roles/, molecule/) run ./<path> from the project root (confirmation); ShellCheck for sh/bash
Makefile (root and two levels down) per target: make -n <target> (dry run; confirmed, $(shell …) still runs) and make <target>
justfile per recipe without required parameters: just <recipe>
Taskfile.yml per task: task --dry <task> (confirmed, sh: variables still run) and task <task>

Only names of letters, digits and _ - . : / (not starting with - or .) become lines.

Found Actions
Packer (*.pkr.hcl, *.pkr.json) packer init ., validate ., fmt -check -diff ., build .
Vagrant (Vagrantfile) vagrant status, validate, up
Pulumi (Pulumi.yaml) pulumi stack ls, preview --diff, up
Helm (Chart.yaml) helm lint ., helm template .
Kustomize (kustomization.yaml) kubectl kustomize .

vagrant status / validate and pulumi preview run the project’s code (Vagrantfile, Pulumi program) and are confirmed like the changing ones.

Recognised only (listed under Also found): Puppet, Chef, Salt, Terragrunt, Ansible Navigator / execution environments.

Each CLI is looked for in /opt/homebrew/bin, /usr/local/bin, ~/.local/bin and /usr/bin; the Ansible tools and Molecule first in the project’s .venv/bin (a line with a program from the project folder is confirmed first). A found one goes into the line with its full path. A missing one is typed by name (the PATH of your login shell) and listed under Missing tools, with Install for ansible, ansible-lint, tofu (brew install opentofu), terraform (brew install hashicorp/tap/terraform) and shellcheck.

AWX / Ansible Automation Platform, HCP Terraform / Terraform Enterprise and Rundeck servers are part of the PRO edition: Automation servers.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close