Pass extra vars

This commit is contained in:
Luke Murphy 2020-03-22 02:15:20 +01:00
parent 49e4dc2b2b
commit ff7dbb85f0
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -41,7 +41,10 @@ dokku-ansible-playbook-run() {
dokku_col_log_info1_quiet "$play_path file found"
dokku_col_log_info1_quiet "running ansible-playbook with $args"
ansible-playbook "$args" "$play_path"
ansible-playbook \
--extra-vars "dokku_lib_root=$DOKKU_LIB_ROOT" \
"$args" \
"$play_path"
}
dokku-ansible-playbook-vault-pass-cmd() {