Hi,

I'm use inventory files with Ansible as:
inventory/fileinventory.yml

As example:
myansible:
  hosts:
    host1:
      ansible_host: x.y.z.t
      ansible_port: ...
      myinventoryvar: xyz
      etc...

But I ask if exist a form to pass one inventory text without grab the file 
and then pass 
  -i INVENTORY, --inventory INVENTORY, --inventory-file INVENTORY
                        specify inventory host path or comma separated host 
list. --inventory-file is deprecated

I can pass hosts as separated host list, but howto pass all data for a one 
host as like the example?

Regards,
Cesar Jorge
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/04bf25b3-913e-4f5b-932c-8bef46bc87cfn%40googlegroups.com.

Reply via email to