diff --git a/roles/bindep/tasks/packages.yaml b/roles/bindep/tasks/packages.yaml index 5967a1f79..8963a40a7 100644 --- a/roles/bindep/tasks/packages.yaml +++ b/roles/bindep/tasks/packages.yaml @@ -8,6 +8,7 @@ name: "{{ bindep_output.stdout_lines }}" state: present become: yes + when: bindep_output.stdout_lines - name: Check that packages are installed command: "{{ bindep_run }}"