Ansible and jails

Andrea Venturoli ml at netfence.it
Mon Nov 28 19:54:27 UTC 2016


On 11/27/16 16:27, Matthew Seaman wrote:

> You can manage jails with ansible exactly like you manage any other type
> of host.  That's easiest if you have a mixed environment.  Yes, you need
> to run sshd and install all the ansible prerequisites in each jail, but
> that's usually not a problem.

Right.
I forgot to mention that I don't have ssh in my jails and that most of 
them live on a loopback interface (like 127.1.0.1), so they wouldn't be 
accessible anyway (unless I set up some firewall rules).
Both are things I'd like to avoid.




> However, ansible does have a special connection_method method for jails
> -- see https://www.keltia.net/howtos/jail-mgmt-with-ansible/  This

That's one of the links I posted :)



  bye & Thanks
	av.


More information about the freebsd-questions mailing list