Nested Collection

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 ?

I figured out a solution, please ignore this. !