File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -679,6 +679,10 @@ function run_kayobe {
679679 kayobe_limit=(--limit " $KAYOBE_LIMIT " )
680680 fi
681681
682+ # Prevent Kayobe from complaining that you are running from
683+ # a repository that is not $KAYOBE_CONFIG_PATH
684+ cd $KAYOBE_CONFIG_PATH
685+
682686 kayobe " ${@ } " " ${kayobe_limit[@]} " " ${kayobe_tags[@]} " " ${kolla_limit[@]} " " ${kolla_tags[@]} " ${KAYOBE_EXTRA_ARGS}
683687}
684688
Original file line number Diff line number Diff line change @@ -205,6 +205,9 @@ function generate_config {
205205
206206 export KAYOBE_VAULT_PASSWORD=dummy-password
207207
208+ # Prevent Kayobe from complaining that you are running from
209+ # a repository that is not $KAYOBE_CONFIG_PATH
210+ cd $KAYOBE_CONFIG_PATH
208211 kayobe control host bootstrap
209212 log_info " Generating config to $output_dir "
210213 kayobe playbook run " $kayobe_ansible_path /kayobe-automation-prepare-config-diff.yml"
You can’t perform that action at this time.
0 commit comments