Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
webservices
Commits
b27aecb1
Commit
b27aecb1
authored
8 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Update fachschaften to stretch
parent
cd11d35d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
mediawiki/tasks/main.yml
+12
-1
12 additions, 1 deletion
mediawiki/tasks/main.yml
php-fpm/handlers/main.yml
+5
-0
5 additions, 0 deletions
php-fpm/handlers/main.yml
php-fpm/tasks/main.yml
+4
-0
4 additions, 0 deletions
php-fpm/tasks/main.yml
with
21 additions
and
1 deletion
mediawiki/tasks/main.yml
+
12
−
1
View file @
b27aecb1
...
@@ -84,6 +84,17 @@
...
@@ -84,6 +84,17 @@
-
config
-
config
-
mediawiki
-
mediawiki
-
name
:
ensure we have a unique temporary cache directory
lineinfile
:
dest
:
/etc/tmpfiles.d/10-mediawiki.conf
line
:
"
d
/tmp/{{mediawiki_name}}
0775
{{mediawiki_user}}
{{mediawiki_group}}
-
-"
create
:
yes
notify
:
-
create tmpfiles
tags
:
-
config
-
mediawiki
#- name: "ensure the library mediawiki uses for diffs is enabled"
#- name: "ensure the library mediawiki uses for diffs is enabled"
# file:
# file:
# state: link
# state: link
...
@@ -105,7 +116,7 @@
...
@@ -105,7 +116,7 @@
name
:
"
mediawiki
maintenance"
name
:
"
mediawiki
maintenance"
hour
:
"
0"
hour
:
"
0"
minute
:
"
0"
minute
:
"
0"
job
:
"
/usr/bin/php
{{mediawiki_web_root}}/maintenance/runJobs.php
--conf
{{mediawiki_web_root}}/LocalSettings.php"
job
:
"
/usr/bin/php
{{mediawiki_web_root}}/
{{mediawiki_name}}/
maintenance/runJobs.php
--conf
{{mediawiki_web_root}}/
{{mediawiki_name}}/
LocalSettings.php"
become
:
yes
become
:
yes
become_user
:
"
{{mediawiki_user}}"
become_user
:
"
{{mediawiki_user}}"
tags
:
tags
:
...
...
This diff is collapsed.
Click to expand it.
php-fpm/handlers/main.yml
0 → 100644
+
5
−
0
View file @
b27aecb1
---
# file: roles/php-fpm/handlers/main.yml
-
name
:
restart php-fpm
service
:
name=php7.0-fpm.service state=restart
This diff is collapsed.
Click to expand it.
php-fpm/tasks/main.yml
+
4
−
0
View file @
b27aecb1
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
-
php
-
php
-
php-fpm
-
php-fpm
when
:
debian_version == "stretch"
when
:
debian_version == "stretch"
notify
:
-
restart php-fpm
tags
:
tags
:
-
packages
-
packages
-
php
-
php
...
@@ -31,6 +33,8 @@
...
@@ -31,6 +33,8 @@
group
:
root
group
:
root
mode
:
0644
mode
:
0644
when
:
debian_version == "stretch"
when
:
debian_version == "stretch"
notify
:
-
restart php-fpm
tags
:
tags
:
-
config
-
config
-
php
-
php
...
...
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