Hello,
Is there a module that can use jexec on FreeBSD (e.g. "execute in jail")? In my oppinion, as jexec executes command in existing jail, something like wrapping existing modules in "jexec" when needed would be great from usability point of view. I don't know what this would mean implementation wise. So, usual questions are:
1. Is it possible?
2. What would be considered acceptable?
3. Is anyone working on something similar needing testing and/or contribution?
Just for reference, my use case is CBSD + jail on FreeBSD as jail house keeping, but I'd love to do provisioning of jails using Ansible, which currently means using command module and prepend every command with "jexec <jail name or id>", which requires variable <jail_name> to be registered, first. Not the pretiest solution, and I'd love to improve it. If there are already better solutions to this use case, I would love to read about the subject.
Thank you,
meka