I figured out a solution, please ignore this. !

On Monday, June 14, 2021 at 8:27:59 PM UTC-4 Dhiwakar Ravikumar wrote:

> Hi
>
> Can someone please comment on whether or or it is possible, whether or not 
> it is recommended to nest collections inside of other collections ? 
>
> I would like to develop a collection of custom modules, which are again 
> composed of other modules.
>
> For example, I would like to develop custom modules like
>
> virtual_machine.disk.add
> virtual_machine.disk.remove
> virtual_machine.disk.resize
> .......
> virtual_machine.nic.add
> virtual_machine.nic.remove
> ........
>
> where a module like disk would invoke another module called add, remove 
> etc. 
>
> as opposed to having  virtual_machine_disk_add
>                                               virtual_machine_disk_remove 
>
> all as separate modules which share a lot of module_utils in the 
> background.
>
> Is this something that can be achieved ?
>
>

-- 
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/6b51b885-099c-46d2-b406-c7c6c9732b9fn%40googlegroups.com.

Reply via email to