/sys for sync_slice_deployments
diff --git a/planetstack/openstack_observer/steps/sync_site_deployments.py b/planetstack/openstack_observer/steps/sync_site_deployments.py
index b5e9f9a..8b2d3b8 100644
--- a/planetstack/openstack_observer/steps/sync_site_deployments.py
+++ b/planetstack/openstack_observer/steps/sync_site_deployments.py
@@ -18,10 +18,11 @@
'admin_password': site_deployment.deployment.admin_password,
'admin_tenant': 'admin',
'tenant': site_deployment.site.login_base,
+ 'ansible_tag': '%s@%s'%(site_deployment.site.login_base,site_deployment.deployment.name), # name of ansible playbook
'tenant_description': site_deployment.site.name}
rendered = template.render(tenant_fields)
- res = run_template('sync_site_deployments.yaml', tenant_fields)
+ res = run_template('sync_site_deployments.yaml', tenant_fields, path='site_deployments')
if (len(res)==1):
site_deployment.tenant_id = res[0]['id']