jffz / ansible-netdata Goto Github PK
View Code? Open in Web Editor NEWAnsible playbook to install netdata anywhere
License: BSD 2-Clause "Simplified" License
Ansible playbook to install netdata anywhere
License: BSD 2-Clause "Simplified" License
Solution:
- name: Netdata check if first time install
stat: path=/etc/netdata
register: path_netdata
and to determine whether to install:
- name: "Installation"
shell: cd /usr/src/netdata/ && ./netdata-installer.sh --dont-wait --libs-are-really-here
notify: Restart netdata
when: gitupdate.changed or not path_netdata.stat.exists
(great project btw. Thanks)
I can integrate Travis CI and molecule with testing in docker for this role if you want :)
Examples of such config are in:
Do you want it?
I think this task:
- name: install pre-requisites
package:
name: "{{ item }}"
state: present
with_items: "{{ netdata_script_dependencies }}"
register: _install_dep_packages
until: _install_dep_packages is succeeded
retries: 5
delay: 2
The 'state' part shouldn't be present but latest like so:
- name: install pre-requisites
package:
name: "{{ item }}"
state: latest
with_items: "{{ netdata_script_dependencies }}"
register: _install_dep_packages
until: _install_dep_packages is succeeded
retries: 5
delay: 2
I noticed this when running your role on a host that already had all software installed just not the latest version. Reinstalling the dependencies manually on the host with apt solved all the issues I had with this role. Can you adapt the role so it updates the dependencies when updating/installing?
Thanks for the role, I use it a lot!
Hi Geoffrey and thanks for this Ansible role! I've been using it for over a year and it saved me tones of time!
I'm opening this issue after upgrading my local copy of your role and seeing these two warnings when applying it:
[WARNING]: file /path/to/roles/jffz.netdata/tasks/configure.yml is empty and had no tasks to include
[WARNING]: file /path/to/roles/jffz.netdata/tasks/install_release.yml is empty and had no tasks to include
Deleting these two empty files does not help, but there is still something we can do to suppress the warnings. Just adding this yaml to both files seems to do the trick:
---
[]
What do you think of making this change?
It would be nice to include LICENSE file, without this file using this repository is basically illegal in most cases.
I propose to use MIT license. More information is provided by github: https://help.github.com/articles/licensing-a-repository/
This can be easily done with github GUI: https://help.github.com/articles/adding-a-license-to-a-repository/
Hi,
I want to netdata configure/install only python modules on my machines. With variable in playbooks I need configure to install only this modules?
Thank you for the time
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.