summaryrefslogtreecommitdiffstats
path: root/roles/graphite/statsd
diff options
context:
space:
mode:
authorRicky Elrod <codeblock@fedoraproject.org>2015-06-02 12:51:55 +0000
committerRicky Elrod <codeblock@fedoraproject.org>2015-06-02 12:51:55 +0000
commitcdec020f76a3f7d80d1169c059c50f4d0413d3b6 (patch)
treeba61ee29fff4794a46e8204afa2c2d17caead20c /roles/graphite/statsd
parentb3f7e90f8cceaf7341ec50f797fada4642f7fbf4 (diff)
downloadansible-cdec020f76a3f7d80d1169c059c50f4d0413d3b6.tar.gz
ansible-cdec020f76a3f7d80d1169c059c50f4d0413d3b6.tar.xz
ansible-cdec020f76a3f7d80d1169c059c50f4d0413d3b6.zip
this is all going to fail miserably
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
Diffstat (limited to 'roles/graphite/statsd')
-rw-r--r--roles/graphite/statsd/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/graphite/statsd/tasks/main.yml b/roles/graphite/statsd/tasks/main.yml
new file mode 100644
index 000000000..9ed76a67e
--- /dev/null
+++ b/roles/graphite/statsd/tasks/main.yml
@@ -0,0 +1,14 @@
+---
+- name: install needed packages
+ yum: pkg={{ item }} state=present
+ with_items:
+ - statsd
+ tags:
+ - packages
+ - statsd
+
+- name: Set statsd to run on boot
+ service: name=statsd enabled=yes state=running
+ tags:
+ - service
+ - statsd