bindep: fix install bindep_command fact name
After installing bindep, the role should set the bindep_command fact instead of bindep_found_command. Otherwise the role fail later: Task: Define bindep_command fact The error was: 'bindep_command' is undefined Change-Id: I11a21c9678c75b7887a8a58c25925dc87e7c9315
This commit is contained in:
parent
892dc6a095
commit
184f036fd8
@ -11,6 +11,6 @@
|
||||
name: bindep
|
||||
virtualenv: "{{ bindep_temp_dir.path }}/venv"
|
||||
|
||||
- name: Define bindep_found_command
|
||||
- name: Define bindep_command
|
||||
set_fact:
|
||||
bindep_found_command: "{{ bindep_temp_dir.path }}/venv/bin/bindep"
|
||||
bindep_command: "{{ bindep_temp_dir.path }}/venv/bin/bindep"
|
||||
|
@ -8,7 +8,7 @@
|
||||
- include: install.yaml
|
||||
when: bindep_command is not defined
|
||||
|
||||
- name: Define bindep_command fact
|
||||
- name: Define bindep_run fact
|
||||
set_fact:
|
||||
bindep_run: "{{ bindep_command }} -b -f {{ bindep_file }} {{ bindep_profile }}"
|
||||
when: bindep_file is defined
|
||||
|
Loading…
Reference in New Issue
Block a user