I have existing two ansible projects:

proj1/inventory/host.yml
all:
  vars:...
  hosts: ...
  children: ...

proj2/inventory/host.yml
all:
  vars:...
  hosts: ...
  children: ...

I want to create a new ansible project, whose inventory is the automatic 
merging of the existing two, which should be something like:

all:
  children:
    proj1:
      vars: ... # from proj1's all.vars
      hosts: ... # from proj1's all.hosts
      children: ... # from proj1's all.children
    proj2:
      vars: ... # from proj2's all.vars
      hosts: ... # from proj2's all.hosts
      children: ... # from proj2's all.children

Is this something easily achievable in ansible?

Thanks in advance.

-- 
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/5f5034b5-2efc-4a17-8abc-0f3dc5cbbe70n%40googlegroups.com.

Reply via email to