Fyi, I got it finally working with the following playbook:

- name: Retrieve facts about server instances from OpenStack
  hosts: localhost
  connection: local

  tasks:
    - name: Retrieve facts for all W* servers
      os_server_facts:
        server: W*
      register: result
    - debug:
        var: result


Hope it helps, if someone is looking for an example ...  :-)  

-- 
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/9467a53a-c54f-4b28-bf2c-bc03939d7aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to