Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Larvitz
Larvitz
@Larvitz@mastodon.bsd.cafe  ·  activity timestamp 19 hours ago

New blog post: Managing FreeBSD Jails with Ansible.

I wrote jailexec - an Ansible connection plugin that lets you manage FreeBSD jails without running SSH inside each one. It connects to the jail host via SSH and uses jexec to run commands, just like you would manually.

Features:
• Single Python file, easy install
• Supports doas and sudo
• Secure two-stage file transfers
• Works with any jail manager

Blog: https://blog.hofstede.it/managing-freebsd-jails-with-ansible-the-jailexec-connection-plugin/

Code: https://github.com/chofstede/ansible_jailexec

#FreeBSD #Ansible #DevOps #SysAdmin #Jails #Automation

Managing FreeBSD Jails with Ansible: The jailexec Connection Plugin | Larvitz Blog

A custom Ansible connection plugin that enables native management of FreeBSD jails via jexec, without requiring SSH inside each jail.
GitHub

GitHub - chofstede/ansible_jailexec: Ansible Connection Plugin for FreeBSD Jails via jexec

Ansible Connection Plugin for FreeBSD Jails via jexec - chofstede/ansible_jailexec
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct