Skip CephIngress daemon deploy

This patch introduces a condition on the CephIngress daemon deploy.
Now this daemon can be skipped, especially in standalone deployments.

Change-Id: I038a60959b81596257c358c83f324c8630148026
This commit is contained in:
Francesco Pantano 2022-08-09 11:17:11 +02:00
parent 9ebe498e83
commit a01ffd62d6
2 changed files with 3 additions and 0 deletions

View File

@ -211,6 +211,7 @@
delegate_to: localhost
when:
- tripleo_cephadm_ha_services_path is defined
- tripleo_cephadm_ingress | default(true)
- name: Apply Ceph spec
import_role:
@ -252,6 +253,7 @@
msg: Vips are required to configure HA services
when:
- tripleo_cephadm_ha_services_path is not defined
- tripleo_cephadm_ingress | default(true)
- name: Config MDS
import_role:
name: tripleo_cephadm

View File

@ -46,6 +46,7 @@
CEPH_CONTAINER_BINARY: "{{ tripleo_cephadm_container_cli }}"
- name: Create the ingress Daemon spec definition for nfs
when: tripleo_cephadm_ingress | default(true)
become: true
ceph_mkspec:
service_type: ingress