The function ansible_hosts got renamed to ansible_playbook
in https://gerrit.fd.io/r/c/csit/+/24511
Change-Id: Ife4e7b13f634fcdda95f80c18bc86cfded139b5d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
if ((iter)); then
# Function reserve_and_cleanup_testbed has already cleaned it once,
# but we need to clean it explicitly on subsequent iterations.
if ((iter)); then
# Function reserve_and_cleanup_testbed has already cleaned it once,
# but we need to clean it explicitly on subsequent iterations.
- ansible_hosts "cleanup" || die
+ ansible_playbook "cleanup" || die
fi
# Testing current first. Good for early failures or for API changes.
select_build "build_current" || die
fi
# Testing current first. Good for early failures or for API changes.
select_build "build_current" || die
archive_parse_test_results "csit_current/${iter}" || die
die_on_pybot_error || die
# TODO: Use less heavy way to avoid apt remove failures.
archive_parse_test_results "csit_current/${iter}" || die
die_on_pybot_error || die
# TODO: Use less heavy way to avoid apt remove failures.
- ansible_hosts "cleanup" || die
+ ansible_playbook "cleanup" || die
select_build "build_parent" || die
check_download_dir || die
run_pybot || die
select_build "build_parent" || die
check_download_dir || die
run_pybot || die