summaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/compass/files/prepare_ansible.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/docker-compose/roles/compass/files/prepare_ansible.sh')
-rwxr-xr-xutil/docker-compose/roles/compass/files/prepare_ansible.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/docker-compose/roles/compass/files/prepare_ansible.sh b/util/docker-compose/roles/compass/files/prepare_ansible.sh
new file mode 100755
index 00000000..031333c8
--- /dev/null
+++ b/util/docker-compose/roles/compass/files/prepare_ansible.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for i in `ls /root/compass4nfv/deploy/adapters/ansible | grep "openstack_"`; do
+ mkdir -p /root/docker_compose/ansible/$i
+ cp -rf /root/compass4nfv/deploy/adapters/ansible/openstack/* /root/docker_compose/ansible/$i
+ cp -rf /root/compass4nfv/deploy/adapters/ansible/$i /root/docker_compose/ansible/
+done
+cp -rf /root/compass4nfv/deploy/adapters/ansible/roles /root/docker_compose/ansible/