fixed bootstrap of chat jail, added rctl limit config stuff
This commit is contained in:
@@ -34,7 +34,9 @@
|
||||
- usr/local/sbin
|
||||
|
||||
- name: copy devzat binary
|
||||
shell: install -m 755 /tmp/devzat/devzat /usr/local/bastille/templates/services/{{ role_name }}/usr/local/sbin/devzat
|
||||
shell: |
|
||||
install -m 755 /tmp/devzat/devzat /usr/local/bastille/templates/services/{{ role_name }}/usr/local/sbin/devzat
|
||||
touch /tmp/.ansible.devzat
|
||||
args:
|
||||
creates: "/tmp/.ansible.devzat"
|
||||
|
||||
@@ -58,9 +60,11 @@
|
||||
shell: bastille start {{ role_name }} || true
|
||||
|
||||
- name: template jail
|
||||
shell: "bastille template {{ role_name }} services/{{ role_name }}"
|
||||
shell: |
|
||||
bastille template {{ role_name }} services/{{ role_name }}
|
||||
touch /tmp/.ansible.devzattemplate
|
||||
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"
|
||||
creates: /tmp/.ansible.devzattemplate
|
||||
|
||||
Reference in New Issue
Block a user