Configuration
Configuration File
Bootware uses the YAML language for its configuration file. Bootware uses the first available path option as its configuration file.
<path>
(argument to -c/--config command line flag)bootware.yaml
(in the current directory)BOOTWARE_CONFIG
(environment variable)~/.bootware/config.yaml
(in the home directory)
Bootware can generate a default configuration file in the user's home directory, by executing bootware config
.
Environment Variables
Several Bootware options can also be specified with environment variables.
BOOTWARE_CONFIG
: Set the configuration file pathBOOTWARE_NOPASSWD
: Assume passwordless doas or sudoBOOTWARE_NOSETUP
: Skip Ansible install and system setupBOOTWARE_PLAYBOOK
: Set Ansible playbook nameBOOTWARE_SKIP
: Set skip tags for Ansible rolesBOOTWARE_TAGS
: Set tags for Ansible rolesBOOTWARE_URL
: Set location of Ansible repository
Command Line
Many Bootware features can controlled directly fron the command line. For a list of options, execute bootware --help
or bootware <subcommand> --help
for a subcommand's specific options.