summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2017-01-24 15:21:09 +0000
committerLennart Weller <lhw@ring0.de>2017-01-24 15:21:09 +0000
commit3ed3b02ed96ddab1c084811f3579b3a2aec83e04 (patch)
tree7a61ab288ae47800c4f11be5677d6ad8288dcd98 /ansible
parentNew upstream version 1.4.0+dfsg (diff)
downloadnetdata-3ed3b02ed96ddab1c084811f3579b3a2aec83e04.tar.xz
netdata-3ed3b02ed96ddab1c084811f3579b3a2aec83e04.zip
New upstream version 1.5.0+dfsgupstream/1.5.0+dfsg
Diffstat (limited to 'ansible')
-rw-r--r--ansible/netdata.yml62
1 files changed, 0 insertions, 62 deletions
diff --git a/ansible/netdata.yml b/ansible/netdata.yml
deleted file mode 100644
index 4c7e7368..00000000
--- a/ansible/netdata.yml
+++ /dev/null
@@ -1,62 +0,0 @@
----
-- name: "Install pre-requisites"
- apt:
- name: "{{ item }}"
- state: present
- with_items:
- - autoconf
- - autoconf-archive
- - autogen
- - automake
- - gcc
- - git
- - libmnl-dev
- - make
- - pkg-config
- - uuid-dev
- - zlib1g-dev
- when: ansible_os_family == "Debian"
-
-- name: "Install pre-requisites"
- yum:
- name: "{{ item }}"
- state: present
- with_items:
- - autoconf
- - autoconf-archive
- - autogen
- - automake
- - curl
- - gcc
- - git
- - jq
- - libmnl-devel
- - libuuid-devel
- - make
- - pkgconfig
- - zlib-devel
- when: ansible_os_family == "RedHat"
-
-- name: "Clone repo"
- git:
- clone: yes
- repo: https://github.com/firehol/netdata.git
- dest: /tmp/netdata
-
-- name: "Installation"
- shell: cd /tmp/netdata/ && ./netdata-installer.sh --dont-wait --libs-are-really-here
-
-- name: "Clean /tmp"
- file:
- path: /tmp/netdata
- state: absent
-
-- name: "KillAll"
- shell: killall netdata
-
-- name: "Daemon config"
- systemd:
- daemon_reload: yes
- name: netdata
- enabled: yes
- state: started