Remove duplicated code

Change-Id: If1b0bcbaddac5012f1f2a52747636b1093a02ce4
This commit is contained in:
Olivier Bourdon 2018-08-31 18:13:45 +02:00
parent 0d0cfd908d
commit 9d58e74ca2
1 changed files with 0 additions and 11 deletions

View File

@ -63,17 +63,6 @@
action: "{{ ansible_pkg_mgr }} name={{ iscsi_client_package }} state=present"
when: skip_install is not defined
# NOTE(pas-ha) even when install into virtualenv is requested,
# we need to install shade into system for enroll-dynamic to succeed
- block:
- name: install shade from PyPI
command: "{{ hostvars[inventory_hostname].ansible_python.executable }} -m pip install shade"
when: not (shade_source_install | default(false) | bool)
- name: install shade from source
command: "{{ hostvars[inventory_hostname].ansible_python.executable }} -m pip install {{ shade_git_folder }}"
when: shade_source_install | default(false) | bool
when: skip_install is not defined
- name: "Diskimage-builder - Install"
include: pip_install.yml
package=diskimage-builder