nilsmeyer / ansible-debootstrap

An ansible role for bootstrapping new Debian based systems, including setting up partitions, file systems, encryption (luks), RAID and LVM
GNU Lesser General Public License v3.0
35 stars 19 forks source link

Convert to two stage playbook to enable running user roles #7

Closed nilsmeyer closed 5 years ago

nilsmeyer commented 6 years ago

Instead of running a lot of things via the shell module, invoking chroot, I think it may be more prudent to at least temporarily start an sshd instance in the chrooted system (on a different port or possibly tunneled through the main host), then allow further plays to be executed on that sshd instance. This would also allow the user to add their roles to the playbook and allows separating out some of the more advanced features.

nilsmeyer commented 5 years ago

Now implemented, still lacking documentation.