Welcome to Bolt 2.0!
You can read about new features and changes in our Bolt 2.0 blog post.
Before you upgrade:
You can view upgrade instructions for your operating system at Installing Bolt.
Migrating inventory files from version 1 to version 2
To maintain compatibility with Bolt, migrate your Version 1 inventory files to Version 2. You can complete this process manually by changing the names of some of the keys in the inventory file, or automatically using a Bolt command.
To automatically migrate a Version 1 inventory file to Version 2, use the
project migrate command. Bolt will locate the inventory file for the current
Bolt project and migrate it in place. You can specify the projects and inventory
files you want to migrate using the
bolt project migratecommand modifies an inventory file in place and does not preserve comments or formatting. Before using the command, make sure to backup the inventory file.
To manually migrate a Version 1 inventory file, begin by changing all instances of
nodes keys to
Then, change any instance of a
name key in a
Target object to a
Version 1 inventory file
groups: - name: linux nodes: - name: target1.example.com alias: target1 - name: target2.example.com alias: target2
Version 2 inventory file
groups: - name: linux targets: - uri: target1.example.com alias: target1 - uri: target2.example.com alias: target2