iscsigw: do not run common roles when deploying jewel

Let's not deploy common roles when iscsigw nodes for jewel deployment.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/2954/head
Guillaume Abrioux 2018-07-26 11:43:29 +02:00 committed by mergify[bot]
parent 1ecbbbdcfa
commit a1ca2c8fd3
2 changed files with 3 additions and 1 deletions

View File

@ -340,7 +340,7 @@
start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
roles:
- { role: ceph-defaults, tags: ['ceph_update_config'] }
- ceph-docker-common
- { role: ceph-docker-common, when: "ceph_release_num[ceph_release] >= ceph_release_num.luminous" }
- { role: ceph-config, tags: ['ceph_update_config'], when: "ceph_release_num[ceph_release] >= ceph_release_num.luminous" }
- { role: ceph-iscsi-gw, when: "ceph_release_num[ceph_release] >= ceph_release_num.luminous" }
post_tasks:

View File

@ -369,6 +369,8 @@
- role: ceph-defaults
tags: ['ceph_update_config']
- role: ceph-common
when:
- ceph_release_num[ceph_release] >= ceph_release_num.luminous
- role: ceph-config
tags: ['ceph_update_config']
when: