Added ssh config (for accessing kobayashi chat)

This commit is contained in:
2024-12-13 18:39:21 +01:00
parent c7b89345bf
commit 862f2567b1
6 changed files with 41 additions and 4 deletions

View File

@@ -9,6 +9,8 @@
git clone https://github.com/tlinden/devzat
cd /tmp/devzat
go build
args:
creates: "/tmp/.ansible.devzatbuild"
- name: create services template dir
file:
@@ -33,6 +35,8 @@
- name: copy devzat binary
shell: install -m 755 /tmp/devzat/devzat /usr/local/bastille/templates/services/{{ role_name }}/usr/local/sbin/devzat
args:
creates: "/tmp/.ansible.devzat"
- name: copy devzat config file
copy:
@@ -55,3 +59,8 @@
- name: template jail
shell: "bastille template {{ role_name }} services/{{ role_name }}"
args:
# FIXME: might make it impossible to update, on the other hand w/o
# it this command fails with "devzat binary busy" when the jail is
# already running, since go binaries do not fork.
creates: "/tmp/.ansible.devzattemplate"