Skip to content
Snippets Groups Projects
Commit c600bb46 authored by jurgenhaas's avatar jurgenhaas
Browse files

Force Jailkit to update components as jk_update doesn't do what we expect, it...

Force Jailkit to update components as jk_update doesn't do what we expect, it only updates existing files but doesn't copy new ones
parent 5f225da3
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,5 @@ jailkit: false
jailroot: '/jails'
jailsite_init_force: false
jailuser_init: false
jailkit_components: 'extendedshell git jk_lsh rsync scp sftp ssh php drush netutils'
jailusers: []
......@@ -2,7 +2,7 @@
# file: roles/jailkit/tasks/initjail.yml
- name: "Init Jail"
shell: jk_init -j {{ jailroot }}/{{ drupal.jail.name }} extendedshell git jk_lsh rsync scp sftp ssh php drush netutils
shell: jk_init -j {{ jailroot }}/{{ drupal.jail.name }} {{ jailkit_components }}
- name: "Copy Tools"
shell: jk_cp -j {{ jailroot }}/{{ drupal.jail.name }} -o -s -f /bin/bash /usr/bin/groups /etc/group /usr/bin/tput
......
---
# file: roles/jailkit/tasks/updatejail.yml
- name: "JailKit Update Components"
shell: jk_init -j {{ jailroot }}/{{ drupal.jail.name }} {{ jailkit_components }}
- name: "JailKit Update Directories"
shell: jk_update -j {{ jailroot }}/{{ drupal.jail.name }} --skip=/etc/drush/aliases.drushrc.php /bin /dev /etc /home /lib /lib64 /opt /usr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment