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
bc389433
Commit
bc389433
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-inventories/arocom#51 Get PHP 5.3 work as FPM as well
parent
bac0f5f7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+1
-1
1 addition, 1 deletion
handlers/main.yml
tasks/jailkit.yml
+4
-0
4 additions, 0 deletions
tasks/jailkit.yml
templates/php_pool.conf
+1
-1
1 addition, 1 deletion
templates/php_pool.conf
with
6 additions
and
2 deletions
handlers/main.yml
+
1
−
1
View file @
bc389433
...
...
@@ -3,5 +3,5 @@
-
name
:
"
Restart
PHP-FPM"
service
:
name='
php5-fpm
'
name='
{{ phpFpmService }}
'
state='restarted'
This diff is collapsed.
Click to expand it.
tasks/jailkit.yml
+
4
−
0
View file @
bc389433
...
...
@@ -3,6 +3,10 @@
---
# file: roles/jailkit/tasks/jailkit.yml
-
set_fact
:
phpFpmService='php5-fpm'
-
set_fact
:
phpFpmService='php-fpm'
when
:
php_version|default('5.5') == '5.3'
-
name
:
"
Check
JailKit
Requirement"
shell
:
ls /usr/sbin/jk_init
register
:
jailkit_available
...
...
This diff is collapsed.
Click to expand it.
templates/php_pool.conf
+
1
−
1
View file @
bc389433
...
...
@@ -22,7 +22,7 @@ env[TEMP] = {{ jailroot }}/{{ item.jail.name }}/tmp
;
PHP
settings
php_admin_value
[
open_basedir
] = {{
jailroot
}}/{{
item
.
jail
.
name
}}/
var
/
www
{{
item
.
root
}}/:{{
jailroot
}}/{{
item
.
jail
.
name
}}/
var
/
www
/
settings
/:{{
jailroot
}}/{{
item
.
jail
.
name
}}/
var
/
www
/
files
/:{{
jailroot
}}/{{
item
.
jail
.
name
}}/
tmp
/
php_admin_value
[
doc_root
] = {{
jailroot
}}/{{
item
.
jail
.
name
}}/
var
/
www
{{
item
.
doc
root
}}
php_admin_value
[
doc_root
] = {{
jailroot
}}/{{
item
.
jail
.
name
}}/
var
/
www
{{
item
.
root
}}
php_admin_value
[
upload_tmp_dir
] = {{
jailroot
}}/{{
item
.
jail
.
name
}}/
tmp
php_admin_value
[
session
.
save_path
] =
"{{ jailroot }}/{{ item.jail.name }}/tmp"
php_admin_value
[
browscap
] = {{
php_browscap
}}
...
...
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