How to use ansible on remote systemd-nspawn containers?

493 views Asked by At

I'm using ansible on my local machine "A", manipulating remote host "B". Now I have containers "C1", "C2", etc. on that remote host. Can I use ansible to manipulate them, too? I.e. without having sshd installed in every container?

Of course, I can install sshd in every container and forward the respective port. It's just that I would like to avoid that.

Btw. all of the involved machines run Debian 9 (stable/stretch).

TIA!

0

There are 0 answers