###########\r
\r
# If user specifies intalling from release,then he can choose the specific version\r
-opensds_release: v0.2.1 # The version should be at least v0.2.1\r
-nbp_release: v0.2.1 # The version should be at least v0.2.1\r
+opensds_release: v0.3.0 # The version should be at least v0.2.1\r
+nbp_release: v0.3.0 # The version should be at least v0.2.1\r
\r
# These fields are NOT suggested to be modified\r
opensds_download_url: https://github.com/opensds/opensds/releases/download/{{ opensds_release }}/opensds-hotpot-{{ opensds_release }}-linux-amd64.tar.gz\r
args:\r
chdir: "{{ opensds_config_dir }}"\r
ignore_errors: yes\r
-\r
-- name: include nbp-installer role if nbp_plugin_type != hotpot_only\r
- include_role:\r
- name: nbp-installer\r
- when: nbp_plugin_type != "hotpot_only"\r
state: present\r
with_items:\r
- open-iscsi\r
+ when: nbp_plugin_type != "hotpot_only"\r
\r
- name: create nbp work directory if it doesn't exist\r
file:\r
mode: 0755\r
with_items:\r
- "{{ nbp_work_dir }}"\r
+ when: nbp_plugin_type != "hotpot_only"\r
\r
- name: include scenarios/repository.yml when installing from repository\r
include: scenarios/repository.yml\r
- when: install_from == "repository"\r
+ when: install_from == "repository" and nbp_plugin_type != "hotpot_only"\r
\r
- name: include scenarios/release.yml when installing from release\r
include: scenarios/release.yml\r
- when: install_from == "release"\r
+ when: install_from == "release" and nbp_plugin_type != "hotpot_only"\r
\r
- name: include scenarios/flexvolume.yml when nbp plugin type is flexvolume\r
include: scenarios/flexvolume.yml\r
with_first_found:\r
- "scenarios/etcd_{{ ansible_architecture }}.yml"\r
- "scenarios/etcd.yml"\r
- when: db_driver == "etcd" and container_enabled == false\r
+ when: db_driver == "etcd" and etcd_container_enabled == false\r
\r
- name: include scenarios/container.yml\r
include: scenarios/container.yml\r
with_items:\r
- ceph-common\r
\r
+- name: install notario package with pip when ceph backend enabled\r
+ pip:\r
+ name: "{{ item }}"\r
+ with_items:\r
+ - notario\r
+\r
- name: configure ceph section in opensds global info if specify ceph backend\r
shell: |\r
cat >> opensds.conf <<OPENSDS_GLOABL_CONFIG_DOC\r
\r
- name: check if ceph osd is running\r
shell: ps aux | grep ceph-osd | grep -v grep\r
- ignore_errors: false\r
+ ignore_errors: true\r
changed_when: false\r
register: service_ceph_osd_status\r
\r
- name: check if ceph mon is running\r
shell: ps aux | grep ceph-mon | grep -v grep\r
- ignore_errors: false\r
+ ignore_errors: true\r
changed_when: false\r
register: service_ceph_mon_status\r
\r
- osdslet\r
- osdsdock\r
- dashboard-installer\r
+ - nbp-installer\r