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
d61edab1
Commit
d61edab1
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
386e71f1
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
defaults/main.yml
+5
-3
5 additions, 3 deletions
defaults/main.yml
tasks/initjailusers.yml
+1
-1
1 addition, 1 deletion
tasks/initjailusers.yml
tasks/jailkit.yml
+18
-18
18 additions, 18 deletions
tasks/jailkit.yml
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
with
25 additions
and
23 deletions
defaults/main.yml
+
5
−
3
View file @
d61edab1
jailkit
:
false
---
jailkit
:
no
jailroot
:
/jails
jailsite_init_force
:
false
jailuser_init
:
false
jailsite_init_force
:
no
jailuser_init
:
no
jailkit_components
:
extendedshell git jk_lsh rsync scp sftp ssh php drush netutils
jailusers
:
[]
This diff is collapsed.
Click to expand it.
tasks/initjailusers.yml
+
1
−
1
View file @
d61edab1
...
...
@@ -20,7 +20,7 @@
'
.profile'
,
'
.ssh'
,
'
.zshrc'
]
]
when
:
item.0.jail is defined and username in item.0.jail.users and (limit_site is not defined or limit_site == 'no' or item.0.id is not defined or limit_site == item.0.id)
ignore_errors
:
yes
tags
:
...
...
This diff is collapsed.
Click to expand it.
tasks/jailkit.yml
+
18
−
18
View file @
d61edab1
...
...
@@ -130,24 +130,24 @@
-
block
:
-
name
:
Remove PHP PHP Default Pool
file
:
path
:
/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf
state
:
absent
-
name
:
Create PHP Pool
template
:
src
:
php_pool.conf
dest
:
/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf
owner
:
root
group
:
root
mode
:
0644
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)
tags
:
-
ApacheConfig
notify
:
-
Restart PHP-FPM
-
name
:
Remove PHP PHP Default Pool
file
:
path
:
/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf
state
:
absent
-
name
:
Create PHP Pool
template
:
src
:
php_pool.conf
dest
:
/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf
owner
:
root
group
:
root
mode
:
0644
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)
tags
:
-
ApacheConfig
notify
:
-
Restart PHP-FPM
when
:
php_fpm
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
1
−
1
View file @
d61edab1
...
...
@@ -9,6 +9,6 @@
-
block
:
-
import_tasks
:
jailkit.yml
-
import_tasks
:
jailkit.yml
when
:
not excluded_roles or "jailkit" not in excluded_roles and jailkit
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