From bff5c898662dcc6d26e1f9e6eabdfe93e70d6d26 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 20 Jul 2016 08:26:28 -0400 Subject: [PATCH] ceph-build-pull-requests: copy the vars directory into examples to check syntax Signed-off-by: Alfredo Deza --- ceph-build-pull-requests/build/build | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5