diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-10 10:44:48 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-10 10:44:48 +0100 |
commit | 28c55aa1a8c82def2ffdb3e000812a5523371ac5 (patch) | |
tree | 35bf0c53822a6bc1d54d43e7948c5951f72d5d6d /lib/subcommands/add.bash | |
parent | 7b4d5e80ab5bf5d29b38dc617317024373ae1fd0 (diff) |
Add playbook_path()
Diffstat (limited to 'lib/subcommands/add.bash')
-rw-r--r-- | lib/subcommands/add.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subcommands/add.bash b/lib/subcommands/add.bash index 8df2e49..644c04f 100644 --- a/lib/subcommands/add.bash +++ b/lib/subcommands/add.bash @@ -17,7 +17,7 @@ subcommand() return 2 fi - local playbook_base="$BASHTARD_ETCDIR/playbooks.d/$BASHTARD_PLAYBOOK" + local playbook_base="$(playbook_path "base")" local playbook_registry="$BASHTARD_ETCDIR/registry.d/${BASHTARD_PLATFORM[fqdn]}" # Make sure we only run add if the playbook is not in the registry yet |