Variable "img_modify_playbook" is being assigned in first context of
./ansible/build_yardstick_image.yml [1]. However this variable is never used.
In second context [2], the variable used is a CLI input variable.
[1]https://github.com/opnfv/yardstick/blob/stable/euphrates/ansible/build_yardstick_image.yml#L187
[2]https://github.com/opnfv/yardstick/blob/stable/euphrates/ansible/build_yardstick_image.yml#L205
JIRA: YARDSTICK-871
Change-Id: I7bd5063c5e86520abcafdc782222ee53faf58f45
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
mode: 0755
when: "target_os == 'Ubuntu'"
mode: 0755
when: "target_os == 'Ubuntu'"
- - name: set img_modify_playbook
- set_fact:
- img_modify_playbook: ubuntu_server_cloudimg_modify.yml
-
- - debug:
- var: img_modify_playbook
- verbosity: 2
-
- name: add chroot as host
add_host:
name: "{{ mountdir }}"
- name: add chroot as host
add_host:
name: "{{ mountdir }}"