Discussion:
[ansible-project] Could there be a way let me include all ansible playbook?
Dylan Wang
2015-07-15 09:01:01 UTC
Permalink
Hi guys,
I use travis-CI for syntax checking.
Could there be a way let me include all ansible playbook in a same
directory? (eg. - include *.yml )
That will help me a lot for maintain syntax test, otherwise when I
modify/add a playbook, I need change it in test.yml too.

and also syntax checking seems don't work for third-party module, if I play
it directly it works fine, but when I add `--syntax-check`,
it just show me " not a legal parameter of an Ansible Play".
Is that a bug?
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2faacdcd-3ade-4ed1-9375-5415d0641770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Brian Coca
2015-07-15 15:24:03 UTC
Permalink
it won't work with include, but you can do this in shell:

ansible-playbook *.yml --syntax-check

and yes, it should work with 3rd party modules
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3D9t2Vh13mznfgDjgknWncy9c7op1LYOk4AUH4z9EVC7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...