aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands/sync.bash
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-10 10:44:48 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-10 10:44:48 +0100
commit28c55aa1a8c82def2ffdb3e000812a5523371ac5 (patch)
tree35bf0c53822a6bc1d54d43e7948c5951f72d5d6d /lib/subcommands/sync.bash
parent7b4d5e80ab5bf5d29b38dc617317024373ae1fd0 (diff)
Add playbook_path()
Diffstat (limited to 'lib/subcommands/sync.bash')
-rw-r--r--lib/subcommands/sync.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subcommands/sync.bash b/lib/subcommands/sync.bash
index 8f5e2cd..6bda162 100644
--- a/lib/subcommands/sync.bash
+++ b/lib/subcommands/sync.bash
@@ -28,7 +28,7 @@ subcommand()
sync_playbook()
{
- local playbook_base="$BASHTARD_ETCDIR/playbooks.d/$BASHTARD_PLAYBOOK"
+ local playbook_base="$(playbook_path "base")"
local missing_vars=0
notice "bashtard/sync" "Running sync for $BASHTARD_PLAYBOOK"