devshell
devshell copied to clipboard
[FR] Ansible Galaxy Collection Module
Is your feature request related to a problem? Please describe.
I'd like to specify Ansible Galaxy collections to be installed in my devshell environment and have them fetched and available.
Describe the solution you'd like
Likely some module with inputs that reflects what you'd typically specify for Ansible Galaxy's requirements.yml (e.g. here). I don't know if it's better to specify this all directly in devshell.toml, or pull in a requirements.yml, or provide config options, etc.
Describe alternatives you've considered
NA
Additional context
I'm new to nix and devshell so still feeling my way around. I'm looking to replace my "dev" docker images with devshell and really liking it so far. I don't mind trying to build this module out myself (thinking of this as a learning experience for nix too) but any pointers would be great.
Someone has already asked a generic question about Ansible Galaxy installs for Nix and there was a helpful reply here. That would probably be my launching point. I am not sure that script handles recursive fetching by ansible-galaxy, so TBD how far it gets me.
Cheers