Skip to content

Instantly share code, notes, and snippets.

@gdchamal
Created July 2, 2013 17:45
Show Gist options
  • Save gdchamal/5911452 to your computer and use it in GitHub Desktop.
Save gdchamal/5911452 to your computer and use it in GitHub Desktop.
- name: ensure directory with opentsdb source
file: name='/home/{{ tsdb_user }}/opentsdb' state=directory
register: opentsdb_dir
tags: tsdb
- name: clone opentsdb
when_changed: '{{ opentsdb_dir.changed }}'
sudo_user: '{{ tsdb_user }}'
shell: git clone git://github.com/OpenTSDB/opentsdb.git
tags: tsdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment