aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-09 13:30:52 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-09 13:30:52 +0100
commit5a3a5e2778c33031c42088fcddd4b5b2eb960bd2 (patch)
tree572a640f2d892206e3b5fb2c0d7cfc66e7562219 /CHANGELOG.md
parent9575bf831765033243743f026fcaabc9a02e9f78 (diff)
Implement BASHTARD_PLAYBOOK_VARS
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
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