Hello, 

The documentation mentions "with_inventory_hostname" 
(http://docs.ansible.com/ansible/playbooks_loops.html#looping-over-the-inventory)
 
as an attribute for a task :

# show all the hosts in the inventory- debug: msg={{ item }}
  with_inventory_hostname: all
# show all the hosts matching the pattern, ie all but the group www- debug: 
msg={{ item }}
  with_inventory_hostname: all:!www

But my playbook raise the following error (with ansible 2.0.0.2, installed 
via pip) for the same task:
"ERROR! 'with_inventory_hostname' is not a valid attribute for a Task

I did not find any mention of "with_inventory_hostname" in the source code. 

Is it an old feature not removed from the docs ? Did I miss something else ?

Thanks in advance, 
Aurel

-- 
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/a8c01293-be2a-464a-9f9e-9ace024add6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to