Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetData
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
NetData
Commits
dbe3b1c4
Commit
dbe3b1c4
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-inventories/paragon#403 Implement workaround for NetData in China
parent
23e34a29
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/install.yml
+12
-1
12 additions, 1 deletion
tasks/install.yml
with
12 additions
and
1 deletion
tasks/install.yml
+
12
−
1
View file @
dbe3b1c4
...
...
@@ -8,11 +8,22 @@
dest
:
"
/opt/netdata"
force
:
yes
register
:
netdata_clone
when
:
netdata_local_archive is not defined
notify
:
-
"
Restart
NetData"
-
name
:
"
Extract
NetData
Archive"
unarchive
:
src
:
'
/opt/{{
netdata_local_archive
}}.zip'
dest
:
'
/opt'
remote_src
:
yes
register
:
netdata_clone
when
:
netdata_local_archive is defined
notify
:
-
"
Restart
NetData"
-
name
:
"
Install
and
configure
NetData"
shell
:
./netdata-installer.sh --dont-wait
args
:
chdir
:
/opt/netdata
chdir
:
/opt/
{{
netdata
_local_archive|default('netdata') }}
when
:
netdata_clone.changed
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