bindep: skip package install when not needed
When bindep test doesn't output package, there is no need to run the package task. Change-Id: I6f13e060a6d9657d3dec4f43a0b9c2dbff2d362d
This commit is contained in:
parent
184f036fd8
commit
ea5c3d08da
@ -8,6 +8,7 @@
|
|||||||
name: "{{ bindep_output.stdout_lines }}"
|
name: "{{ bindep_output.stdout_lines }}"
|
||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
|
when: bindep_output.stdout_lines
|
||||||
|
|
||||||
- name: Check that packages are installed
|
- name: Check that packages are installed
|
||||||
command: "{{ bindep_run }}"
|
command: "{{ bindep_run }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user