Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-rt
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
ansible-rt
Commits
b6f56209
Commit
b6f56209
authored
6 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
reconfigure RT after DB init
Fixes RT#109.
parent
aa950c94
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
request-tracker/tasks/main.yml
+21
-0
21 additions, 0 deletions
request-tracker/tasks/main.yml
with
21 additions
and
0 deletions
request-tracker/tasks/main.yml
+
21
−
0
View file @
b6f56209
...
...
@@ -131,6 +131,27 @@
creates
:
/etc/request-tracker4/.db_initialized
become
:
true
become_user
:
www-data
register
:
db_init
tags
:
-
rt
-
name
:
remount /tmp exec to reconfigure RT
command
:
mount -o rw,remount,exec /tmp
when
:
db_init.changed
tags
:
-
rt
-
name
:
Reconfigure RT
command
:
dpkg-reconfigure request-tracker4
when
:
db_init.changed
notify
:
-
restart RT
tags
:
-
rt
-
name
:
remount /tmp noexec afterwards
command
:
mount -o rw,remount,noexec /tmp
when
:
db_init.changed
tags
:
-
rt
...
...
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