From: Sébastien Han Date: Mon, 28 Nov 2016 10:04:07 +0000 (+0100) Subject: ceph-ansible-syntax: update syntax check X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0a1fd5c267d15caa2c59ec5028cf9c77b5f1e1b4;p=ceph-build.git ceph-ansible-syntax: update syntax check We now use group_vars/alll.yml files. So only yaml files, this ceph-ansible PR introduced that: https://github.com/ceph/ceph-ansible/pull/1113 So we apply the change here as well. Signed-off-by: Sébastien Han --- diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index 61e4204b..c2cd573a 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -15,6 +15,6 @@ $VENV/ansible-playbook -i '127.0.0.1,' site-docker.yml.sample --syntax-check --l # infrastructure-playbooks directory for easier syntax checking cp -r roles infrastructure-playbooks/ cp -r group_vars infrastructure-playbooks/ -mv infrastructure-playbooks/group_vars/all.sample infrastructure-playbooks/group_vars/all +mv infrastructure-playbooks/group_vars/all.yml.sample infrastructure-playbooks/group_vars/all $VENV/ansible-playbook -i '127.0.0.1,' infrastructure-playbooks/*.yml --syntax-check --list-tasks -vv