Martin
Martin

Reputation: 41

How to use ansible on remote systemd-nspawn containers?

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!

Upvotes: 1

Views: 531

Answers (0)

Related Questions