ansible variable fix commit

Kevin Fenzi kevin at
Sun Jan 5 16:38:11 UTC 2014

On Fri, 03 Jan 2014 12:12:54 +0100
Michael Scherer <misc at> wrote:

> Le mercredi 01 janvier 2014 à 19:22 -0700, Kevin Fenzi a écrit :
> > After pushing this I went ahead and did some more cleanup:
> > 
> > 1. I went through and ran 'ansible-playbook --syntax-check' on all
> > the host and group playbooks and fixed all the depreciation
> > warnings that were left and also cleaned up any errors that
> > prevented it from finishing. 
> So maybe that's the right time to add a git commit hook that check
> this and block commit if that's not the case ?

Yeah, that would be nice. ;) 

--syntax-check only works on playbooks, so the hook would have to look
for /playbooks/ and then only pass the yml files into ansible-playbook

It's also a pretty simple check at this point, but at least it would
catch depreciated syntax being re-added. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <>

More information about the infrastructure mailing list