Hi Felix,

Thanks for your quick reply and that is great!

We actually love deep structures and are very happy to hear that they are 
not going away. Btw they work perfectly for playbooks as well (haven't 
tried it for roles though).

Thanks again & best regards,
Uli

Felix Fontein schrieb am Freitag, 10. Februar 2023 um 20:53:50 UTC+1:
Hi Uli, 

> We developed quite a number of collections which utilize the deep 
> folder structure to organize the content. Example: 
> 
> ################################# 
> ├── playbooks/ 
> │ ├── db/ 
> │ │ ├── client/ 
> │ │ │ └── deploy_software.yml 
> │ │ └── server/ 
> │ │ └── deploy_software.yml 
> │ └── ... 
> ├── plugins/ 
> │ ├── action/ 
> │ │ ├── db/ 
> │ │ │ └── foo.py 
> │ │ └── app/ 
> │ │ └── backend/ 
> │ │ └── api.py 
> │ └── ... 
> └── ... 
> ################################# 
> 
> To us the benefit is the clear organization of plugins and playbooks 
> (among many other nice things). 
> 
> Recently many of the community collections have been reorganized 
> (afaik by Felix Fontein) to have a flat structure again. On the other 
> hand tools like ansible-lint have been fixed to fully support deep 
> structures. 
> 
> My questions to you is: What the the future of deep structures in 
> collections? 

deep structures are fully supported. (I don't know whether they work 
for playbooks or roles - I've never tried them there - but they 
definitely work for plugins and modules, and I'm not aware of any plans 
to change that.) 

The reason we removed that structure for community.general and 
community.network was that the structure there was never intended to be 
seen by users. It was only used to structure the content of the 
collection (c.g has 568 modules) so modules covering similar topics are 
in the same directory, making development of the collection easier. 

Since it was no longer possible to hide this from users, we decided to 
remove the structure. 

Best regards, 
Felix 


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/290016c0-e9e2-453a-8141-848d94eb28dcn%40googlegroups.com.

Reply via email to