Can You post a whole playbook? Put it on pastebin or sth.

W dniu poniedziałek, 21 grudnia 2015 10:06:25 UTC+1 użytkownik Stavros 
napisał:
>
> I checked that with the YAML Lint and after adding/removing a couple of 
> spaces...••••••••
>
> - os_server_facts:
>     server: W1
> -  debug:
>     var: openstack_servers
>
>  ••••••••
> ...it doesn't return a YAML syntax error, but:
>
> admin:~/temp <javascript:>> ansible-playbook -i oshost 
> os_server_facts.yml -vvvv
> Using /home/admin/.ansible.cfg as config file
> ERROR! 'os_server_facts' is not a valid attribute for a Play
> The error appears to have been in '/home/admin/temp/os_server_facts.yml': 
> line 1, column 3, but may
> be elsewhere in the file depending on the exact syntax problem.
> The offending line appears to be:
>
> - os_server_facts:
>   ^ here
>
> 'os_server_facts' is not a valid attribute?? The os_server_facts module 
> exists in 2.0 as far I can see: 
> /usr/lib/python2.7/site-packages/ansible/modules/core/cloud/openstack/os_server_facts.py
>
> Should I open an issue ticket?
>
>
> Stavros
>

-- 
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/b89d66db-3841-45da-835d-715d37ebb531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to