aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--lib/subcommands/init.bash1
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e2434b9..f0fe9b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,6 +43,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
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.
+- A new directory has been added, `data.d`, for data that should be shared
+ between playbook runs. This new directory is intended to create a clearer
+ seperation between a playbook and a user's specific data used by the playbook,
+ which in turn should make re-using playbooks easier.
### Changed
diff --git a/lib/subcommands/init.bash b/lib/subcommands/init.bash
index 63eec13..824956e 100644
--- a/lib/subcommands/init.bash
+++ b/lib/subcommands/init.bash
@@ -23,6 +23,7 @@ init_local()
local dirs=(
"$BASHTARD_ETCDIR"
"$BASHTARD_ETCDIR/conf.d"
+ "$BASHTARD_ETCDIR/data.d"
"$BASHTARD_ETCDIR/hosts.d"
"$BASHTARD_ETCDIR/os.d"
"$BASHTARD_ETCDIR/playbooks.d"