diff options
Diffstat (limited to 'util/docker-compose/roles/compass/files/prepare_ansible.sh')
-rwxr-xr-x | util/docker-compose/roles/compass/files/prepare_ansible.sh | 8 |
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/ |