Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netdata_server
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSI Ansible
netdata_server
Commits
b92732f6
Commit
b92732f6
authored
3 years ago
by
Adrian K.
Browse files
Options
Downloads
Patches
Plain Diff
Fix ansible-lint
parent
a5775a9d
No related branches found
No related tags found
1 merge request
!2
Add ansible-lint and fix all warnings and errors
Pipeline
#88822
passed
3 years ago
Stage: linting
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+1
-1
1 addition, 1 deletion
handlers/main.yml
meta/main.yml
+1
-1
1 addition, 1 deletion
meta/main.yml
tasks/main.yml
+8
-8
8 additions, 8 deletions
tasks/main.yml
with
10 additions
and
10 deletions
handlers/main.yml
+
1
−
1
View file @
b92732f6
---
-
name
:
reload netdata alarms
command
:
killall -USR2 netdata
ansible.builtin.
command
:
killall -USR2 netdata
This diff is collapsed.
Click to expand it.
meta/main.yml
+
1
−
1
View file @
b92732f6
...
...
@@ -3,7 +3,7 @@ galaxy_info:
author
:
Fachschaft Informatik, TU Dortmund
description
:
Install and configure a netdata server
license
:
MIT
min_ansible_version
:
2.9
min_ansible_version
:
"
2.9
"
platforms
:
-
name
:
Ubuntu
versions
:
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
8
−
8
View file @
b92732f6
---
-
name
:
Copy netdata cofig
template
:
ansible.builtin.
template
:
src
:
netdata.conf.j2
dest
:
/etc/netdata/netdata.conf
owner
:
root
...
...
@@ -9,7 +9,7 @@
notify
:
restart netdata
-
name
:
Copy netdata stream config
template
:
ansible.builtin.
template
:
src
:
stream.conf.j2
dest
:
/etc/netdata/stream.conf
owner
:
root
...
...
@@ -19,7 +19,7 @@
notify
:
restart netdata
-
name
:
Copy health override config
copy
:
ansible.builtin.
copy
:
src
:
"
{{
item
}}"
dest
:
/etc/netdata/health.d/
owner
:
root
...
...
@@ -31,7 +31,7 @@
notify
:
reload netdata alarms
-
name
:
Copy last_collected alert config
template
:
ansible.builtin.
template
:
dest
:
"
/etc/netdata/health.d/last_collected.conf"
src
:
"
last_collected.conf.j2"
owner
:
root
...
...
@@ -40,12 +40,12 @@
notify
:
reload netdata alarms
-
name
:
Enable netdata
service
:
ansible.builtin.
service
:
name
:
netdata
enabled
:
true
-
name
:
Copy original health_alarm_notify.conf
copy
:
ansible.builtin.
copy
:
src
:
/usr/lib/netdata/conf.d/health_alarm_notify.conf
remote_src
:
true
dest
:
/etc/netdata/health_alarm_notify.conf
...
...
@@ -55,7 +55,7 @@
mode
:
0644
-
name
:
Set email sender
lineinfile
:
ansible.builtin.
lineinfile
:
path
:
/etc/netdata/health_alarm_notify.conf
regexp
:
"
^EMAIL_SENDER=
\"
.*
\"
"
line
:
"
EMAIL_SENDER=
\"
{{
netdata_from_email
}}
\"
"
...
...
@@ -63,7 +63,7 @@
notify
:
reload netdata alarms
-
name
:
Set email recipient
lineinfile
:
ansible.builtin.
lineinfile
:
path
:
/etc/netdata/health_alarm_notify.conf
regexp
:
"
^DEFAULT_RECIPIENT_EMAIL=
\"
.*
\"
"
line
:
"
DEFAULT_RECIPIENT_EMAIL=
\"
{{
netdata_to_email
}}
\"
"
...
...
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