mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-07-30 11:44:31 +00:00
Refactored coe_cluster{,_template} modules
Change-Id: I209b242b43d8b79740752cd2c405705d247326c4
This commit is contained in:
@@ -114,10 +114,16 @@ if [ -n "$TAGS" ]; then
|
||||
fi
|
||||
|
||||
if ! systemctl is-enabled devstack@o-api.service 2>&1; then
|
||||
# Run all tasks except for loadbalancer if Octavia is not available
|
||||
# Skip loadbalancer tasks if Octavia is not available
|
||||
tag_opt+=" --skip-tags loadbalancer"
|
||||
fi
|
||||
|
||||
# TODO: Replace with more robust test for Magnum availability
|
||||
if [ ! -e /etc/magnum ]; then
|
||||
# Skip coe tasks if Magnum is not available
|
||||
tag_opt+=" --skip-tags coe_cluster,coe_cluster_template"
|
||||
fi
|
||||
|
||||
cd ci/
|
||||
|
||||
# Run tests
|
||||
|
||||
Reference in New Issue
Block a user