From: Alfredo Deza Date: Wed, 20 Jul 2016 12:26:28 +0000 (-0400) Subject: ceph-build-pull-requests: copy the vars directory into examples to check syntax X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bff5c898662dcc6d26e1f9e6eabdfe93e70d6d26;p=ceph-build.git ceph-build-pull-requests: copy the vars directory into examples to check syntax Signed-off-by: Alfredo Deza --- diff --git a/ceph-build-pull-requests/build/build b/ceph-build-pull-requests/build/build index fc4d56f7..de01762a 100644 --- a/ceph-build-pull-requests/build/build +++ b/ceph-build-pull-requests/build/build @@ -24,6 +24,10 @@ for reqs in $WORKSPACE/ansible/requirements/*; do $VENV/ansible-galaxy install -r $reqs -p $WORKSPACE/ansible/roles --force done +# To avoid moving everything into examples, including stuff that is not relevant +# as an example, we copy them on the fly here +cp -r $WORKSPACE/ansible/vars $WORKSPACE/ansible/examples/ + # Syntax-check each Ansible playbook for playbook in $WORKSPACE/ansible/*.yml; do $VENV/ansible-playbook -i '127.0.0.1,' $playbook --syntax-check