Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eth-log-alerting
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Ansible
eth-log-alerting
Commits
184b12ad
Commit
184b12ad
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Handle restarts after config updates
parent
53a7f954
No related branches found
No related tags found
1 merge request
!1
Initial release
Pipeline
#197
passed with stage
Stage:
in 3 minutes and 7 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+4
-1
4 additions, 1 deletion
handlers/main.yml
tasks/install.yml
+1
-0
1 addition, 0 deletions
tasks/install.yml
tasks/service.yml
+1
-0
1 addition, 0 deletions
tasks/service.yml
with
6 additions
and
1 deletion
handlers/main.yml
+
4
−
1
View file @
184b12ad
---
---
# handlers file for eth-log-alerting
-
name
:
restart daemon
\ No newline at end of file
service
:
name
:
eth-log-alerting
state
:
restarted
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
1
−
0
View file @
184b12ad
...
@@ -14,3 +14,4 @@
...
@@ -14,3 +14,4 @@
owner
:
root
owner
:
root
group
:
root
group
:
root
mode
:
0400
mode
:
0400
notify
:
restart daemon
This diff is collapsed.
Click to expand it.
tasks/service.yml
+
1
−
0
View file @
184b12ad
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
-
'
DAEMON="{{
eth_log_alerting_binary_dest
}}"'
-
'
DAEMON="{{
eth_log_alerting_binary_dest
}}"'
-
'
DAEMON_ARGS="-config
{{
eth_log_alerting_config_dest
}}"'
-
'
DAEMON_ARGS="-config
{{
eth_log_alerting_config_dest
}}"'
-
'
USER="root"'
-
'
USER="root"'
notify
:
restart daemon
-
name
:
Ensure service is enabled and started
-
name
:
Ensure service is enabled and started
service
:
service
:
...
...
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