Skip to content
Snippets Groups Projects
Commit 76d15503 authored by nimrod's avatar nimrod
Browse files

Merge branch 'master' into collectd

parents ad85795c fc06eb58
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,4 @@ fail ()
which nginx || fail "Can't find nginx executable."
nginx -v 2>&1 | sed 's/[a-zA-Z :\/]*\([0-9]*\)\.\([0-9]*\)\.\([0-9]\)*/{"changed": false, "ansible_facts": {"nginx": {"major":\1, "minor":\2, "patch":\3}}}/g'
nginx -v 2>&1 | sed -n 's/[a-zA-Z :\/]*\([0-9]*\)\.\([0-9]*\)\.\([0-9]\)*/{"changed": false, "ansible_facts": {"nginx": {"major":\1, "minor":\2, "patch":\3}}}/gp'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment