- name: make sure cluster_network configured
fail:
msg: "cluster_network must be configured. Ceph replication network"
- when: cluster_network == '0.0.0.0/0'
+ when:
+ - cluster_network == '0.0.0.0/0'
+ - not osd_containerized_deployment
- name: make sure journal_size configured
debug:
when:
- osd_group_name is defined
- osd_group_name in group_names
+ - not osd_containerized_deployment
- not journal_collocation
- not raw_multi_journal
- not osd_directory
when:
- osd_group_name is defined
- osd_group_name in group_names
+ - not osd_containerized_deployment
- (journal_collocation and raw_multi_journal)
or (journal_collocation and osd_directory)
or (journal_collocation and bluestore)
when:
- osd_group_name is defined
- osd_group_name in group_names
- - journal_collocation
+ - (journal_collocation or osd_containerized_deployment)
- not osd_auto_discovery
- devices|length == 0
when:
- osd_group_name is defined
- osd_group_name in group_names
+ - not osd_containerized_deployment
- raw_multi_journal
- raw_journal_devices|length == 0
or devices|length == 0
when:
- osd_group_name is defined
- osd_group_name in group_names
+ - not osd_containerized_deployment
- osd_directory
- osd_directories is not defined