Created
September 28, 2016 10:00
-
-
Save jffz/52c9d3dd336cc59f3293fb8490191bba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [netdata : Installation pré-requis] *************************************** | |
skipping: [temp-lampion1] => (item=[u'autoconf', u'autoconf-archive', u'autogen', u'automake', u'curl', u'gcc', u'git', u'jq', u'libmnl-devel', u'libuuid-devel', u'make', u'pkgconfig', u'zlib-devel']) | |
NO MORE HOSTS LEFT ************************************************************* | |
RUNNING HANDLER [services-config : restart nrpe] ******************************* | |
RUNNING HANDLER [services-config : restart crond] ****************************** | |
to retry, use: --limit @postinstall.retry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: "Installation pré-requis" | |
yum: | |
name: "{{ item }}" | |
state: present | |
with_items: | |
- autoconf | |
- autoconf-archive | |
- autogen | |
- automake | |
- curl | |
- gcc | |
- git | |
- jq | |
- libmnl-devel | |
- libuuid-devel | |
- make | |
- pkgconfig | |
- zlib-devel | |
- name: "Clone repo" | |
git: | |
clone: yes | |
repo: https://github.com/firehol/netdata.git | |
dest: /tmp/netdata | |
environment: "{{ proxy_env }}" | |
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy_env: | |
http_proxy: "http://login:pass@proxy:8080" | |
https_proxy: "http://login:pass@proxy:8080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment