diff --git a/defaults/main.yaml b/defaults/main.yaml index b46955e..98cb37a 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -37,6 +37,8 @@ statsd_git_version: master statsd_install_method: git +statsd_npm_name: statsd + # tasks/service.yaml statsd_file_statsd_service_manage: true statsd_file_statsd_service_group: root diff --git a/tasks/install.yaml b/tasks/install.yaml index 4005f72..40d14a8 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -22,6 +22,6 @@ package: name: "{{ statsd_build_depends }}" state: present - when: statsd_install_method == 'git' + when: statsd_install_method == 'git' or statsd_install_method == 'pip' - include: "install/{{ statsd_install_method }}.yaml"