From 5a3a5e2778c33031c42088fcddd4b5b2eb960bd2 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 9 Mar 2023 13:30:52 +0100 Subject: Implement BASHTARD_PLAYBOOK_VARS --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 5156976..d91ec56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 get an overview of all pending changes. - A `pull` subcommand has been added to only pull the latest changes into the `$BASHTARD_ETCDIR`, without running `sync` on all the playbooks. +- A new global variable, `$BASHTARD_PLAYBOOK_VARS` has been added. Currently, + its only purpose is to check for "required" variables to be used in the + playbook. Before an `add` or `sync`, any variables declared to be `required` + in the `$BASHTARD_PLAYBOOK_VARS` array will be checked to be non-empty. If any + are empty, an error will be thrown and the playbook will not be ran. ### Changed -- cgit v1.1