summaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/compass/templates/prepare_ansible.sh.j2
blob: e0de125301c6f9d007cef5c295ff2526e71e9d66 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

for i in `ls {{ compass_adapter_dir }}/ansible | grep "openstack_"`; do
    mkdir -p {{ docker_compose_dir }}/ansible/$i
    cp -rf {{ compass_adapter_dir }}/ansible/openstack/* {{ docker_compose_dir }}/ansible/$i
    cp -rf {{ compass_adapter_dir }}/ansible/$i {{ docker_compose_dir }}/ansible/
done
cp -rf {{ compass_adapter_dir }}/ansible/roles {{ docker_compose_dir }}/ansible/