Commands: Management
These commands help you manage the chaos CLI environment itself, from initializing configuration files to discovering available functionality.
chaos init
The chaos init command is a setup wizard that creates boilerplate configuration files, lowering the barrier to entry by generating templates for you.
Subcommands
init chobolo
This command scans your installed plugins for their required configuration keys and generates a template ch-obolo.yml file. This is a great way to discover the data your roles need.
Usage:
This will create ach-obolo_template.yml in ~/.config/chaos/.
init secrets
This command runs an interactive wizard to set up your secret management with sops. It helps you:
-
Choose between
ageandgpgas your encryption backend. -
Generate new keys or use existing ones.
-
Create a
.sops.yamlconfiguration file. -
Create an initial
secrets.ymlfile.
Usage:
chaos set
The chaos set command configures default paths for your most-used files, saving you from having to specify them with flags on every command. These paths are saved to ~/.config/chaos/config.yml.
Subcommands
set chobolo <path>
Sets the default Ch-obolo file to use for apply operations.
Usage:
set secrets <path>
Sets the default secrets file.
Usage:
set sops <path>
Sets the default .sops.yaml configuration file.
Usage:
chaos check
The chaos check command helps you discover what functionality is available from your installed plugins.
Subcommands
check roles
Lists all available role tags that you can use with chaos apply.
Usage:
check aliases
Lists all available command aliases for role tags.
Usage:
check explanations
Lists all documentation topics that you can read about with chaos explain.
Usage:
check providers
Lists all available secret providers.
Usage:
check boats
Lists all available fleet boats.
Usage: