when:jailkit_available is defined and jailkit_available.stdout != '/usr/sbin/jk_init'
tags:'always'
-name:"CreateJailRootDirectory"
file:
...
...
@@ -72,12 +71,11 @@
when:item.jail is defined and (limit_site is not defined or item.id is not defined or limit_site == item.id)
-name:"InitJails"
include:initjail.yml
include_tasks:initjail.yml
with_items:'{{drupal_settings|default([])}}'
loop_control:
loop_var:drupal
when:drupal.jail is defined and (jail_available|changed or jailsite_init_force) and (limit_site is not defined or drupal.id is not defined or limit_site == drupal.id)
tags:'always'
-name:"EnsuretmpDirectory"
file:
...
...
@@ -176,7 +174,6 @@
loop_control:
loop_var:username
when:username != tunnel_user_name and jailuser_init