I think that 
ansible-playbook --syntax-check

is the correct command, not
ansible-playbook --check-syntax




On Friday, February 15, 2013 at 11:54:47 AM UTC-8, Michael DeHaan wrote:
>
> ansible-playbook has a --check-syntax option. 
>
> In 1.1, it's a little smarter, and there is a --list-tasks to go along 
> with --list-hosts. 
>
>
>
> On Fri, Feb 15, 2013 at 2:51 PM, Steven Truong <[email protected] 
> <javascript:>> wrote: 
> > Hi all, 
> > 
> > I am looking for a way from the command line to validate the syntax of 
> the 
> > Yaml files before using them with Ansible.  Do you have any 
> recommendation 
> > or best practices to share? 
> > 
> > Thank you. 
> > 
> > -- 
> > 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 [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/86aa5e8f-7309-45ea-a9e4-8e1d5f2a8c9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to