Merge "bindep: use shell instead of command with executable"
This commit is contained in:
commit
0bbe3d31cb
|
@ -5,9 +5,7 @@
|
||||||
register: bindep_command_stat
|
register: bindep_command_stat
|
||||||
|
|
||||||
- name: Check for system bindep
|
- name: Check for system bindep
|
||||||
args:
|
command: /bin/bash -c "type -p bindep"
|
||||||
executable: /bin/bash
|
|
||||||
command: type -p bindep
|
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: bindep_command_type
|
register: bindep_command_type
|
||||||
when: >-
|
when: >-
|
||||||
|
@ -18,4 +16,4 @@
|
||||||
- name: Define bindep_command fact
|
- name: Define bindep_command fact
|
||||||
set_fact:
|
set_fact:
|
||||||
bindep_command: "{{ bindep_command_type.stdout }}"
|
bindep_command: "{{ bindep_command_type.stdout }}"
|
||||||
when: bindep_command_type|succeeded and not bindep_command_type|skipped
|
when: not bindep_command_type|skipped and bindep_command_type.rc == 0
|
||||||
|
|
Loading…
Reference in New Issue