added devzat chat jail

This commit is contained in:
2024-12-12 18:47:43 +01:00
parent 4048b8fd92
commit c7b89345bf
11 changed files with 79 additions and 40 deletions

View File

@@ -1,8 +1,12 @@
---
# we do NOT use:
# git clone https://github.com/quackduck/devzat
# but our own fork where we patched the torlist stuff away.
# see: https://github.com/quackduck/devzat/issues/246
- name: build devzat
shell: |
cd /tmp
git clone https://github.com/quackduck/devzat
git clone https://github.com/tlinden/devzat
cd /tmp/devzat
go build
@@ -39,6 +43,7 @@
copy:
src: devzat
dest: "/usr/local/bastille/templates/services/{{ role_name }}/usr/local/etc/rc.d/"
mode: '0755'
- name: create jail
shell: "bastille create -B {{ role_name }} {{ release }} {{ chatip.stdout }}/64 bridge0"