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:
Tristan Cacqueray 2017-11-22 13:53:25 +00:00
parent 892dc6a095
commit 184f036fd8
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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