Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,10 @@ function run_kayobe {
kayobe_limit=(--limit "$KAYOBE_LIMIT")
fi

# Prevent Kayobe from complaining that you are running from
# a repository that is not $KAYOBE_CONFIG_PATH
cd $KAYOBE_CONFIG_PATH

kayobe "${@}" "${kayobe_limit[@]}" "${kayobe_tags[@]}" "${kolla_limit[@]}" "${kolla_tags[@]}" ${KAYOBE_EXTRA_ARGS}
}

Expand Down
3 changes: 3 additions & 0 deletions scripts/config-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ function generate_config {

export KAYOBE_VAULT_PASSWORD=dummy-password

# Prevent Kayobe from complaining that you are running from
# a repository that is not $KAYOBE_CONFIG_PATH
cd $KAYOBE_CONFIG_PATH
kayobe control host bootstrap
log_info "Generating config to $output_dir"
kayobe playbook run "$kayobe_ansible_path/kayobe-automation-prepare-config-diff.yml"
Expand Down