diff --git a/tasks/install.yaml b/tasks/install.yaml index 1e20d50..4005f72 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -17,11 +17,11 @@ statsd_build_depends: "{{ __statsd_build_depends | list }}" when: statsd_build_depends is not defined -- name: Ensure dependencies are installed +- name: Ensure dependencies are present become: yes package: name: "{{ statsd_build_depends }}" - state: installed + state: present when: statsd_install_method == 'git' - include: "install/{{ statsd_install_method }}.yaml"