Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jailkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
jailkit
Commits
bd900a49
Commit
bd900a49
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-inventories/arocom#2916 Create a home directory for each jail
parent
efa4d693
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/jailkit.yml
+10
-0
10 additions, 0 deletions
tasks/jailkit.yml
with
10 additions
and
0 deletions
tasks/jailkit.yml
+
10
−
0
View file @
bd900a49
...
...
@@ -78,6 +78,16 @@
loop_var
:
drupal
when
:
drupal.jail is defined and (jail_available is changed or jailsite_init_force) and (limit_site is not defined or limit_site == 'no' or drupal.id is not defined or limit_site == drupal.id)
-
name
:
Ensure Jail Home Directory
file
:
path
:
'
{{
jailroot
}}/{{
item.jail.name
}}/home/{{
item.jail.name
}}'
state
:
directory
owner
:
'
{{
item.jail.name
}}'
group
:
'
{{
item.jail.name
}}'
mode
:
0755
with_items
:
'
{{
drupal_settings|default([])
}}'
when
:
item.jail is defined and (limit_site is not defined or limit_site == 'no' or item.id is not defined or limit_site == item.id)
-
name
:
Ensure tmp Directory
file
:
path
:
'
{{
jailroot
}}/{{
item.jail.name
}}/tmp'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment