Does Ansible not support bash's process substitution 
<http://tldp.org/LDP/abs/html/process-sub.html>?

My project maintains separate inventory files, and there are some playbooks 
that need hosts from certain combinations of them. Instead of having 
pre-concatenated files that could go out of sync, I'd like to do something 
like:

$ ansible-playbook -i <(cat inventorya inventoryb) playbook.yml

I get this error though when I try it:

ERROR: provided hosts list is empty

I haven't looked at the Ansible source, but this may be because process 
substitution uses an fifo under the hood, and Ansible may be strictly 
looking for a file, but this is just wild speculation.

(Ansible 1.7.1)

-Paul

-- 
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/8c342e6e-0605-4f8a-be47-bbd8491504bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to