summaryrefslogtreecommitdiffstats
path: root/ci/ansible/roles/nbp-installer/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/ansible/roles/nbp-installer/tasks/main.yml')
-rw-r--r--ci/ansible/roles/nbp-installer/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/ansible/roles/nbp-installer/tasks/main.yml b/ci/ansible/roles/nbp-installer/tasks/main.yml
index dd13195..09764a5 100644
--- a/ci/ansible/roles/nbp-installer/tasks/main.yml
+++ b/ci/ansible/roles/nbp-installer/tasks/main.yml
@@ -19,6 +19,7 @@
state: present
with_items:
- open-iscsi
+ when: nbp_plugin_type != "hotpot_only"
- name: create nbp work directory if it doesn't exist
file:
@@ -27,14 +28,15 @@
mode: 0755
with_items:
- "{{ nbp_work_dir }}"
+ when: nbp_plugin_type != "hotpot_only"
- name: include scenarios/repository.yml when installing from repository
include: scenarios/repository.yml
- when: install_from == "repository"
+ when: install_from == "repository" and nbp_plugin_type != "hotpot_only"
- name: include scenarios/release.yml when installing from release
include: scenarios/release.yml
- when: install_from == "release"
+ when: install_from == "release" and nbp_plugin_type != "hotpot_only"
- name: include scenarios/flexvolume.yml when nbp plugin type is flexvolume
include: scenarios/flexvolume.yml