This has been deprecated in the previous releases. Let's drop it.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
#monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using
#ip_version: ipv4
-#mon_use_fqdn: false # if set to true, the MON name used will be the fqdn in the ceph.conf
#mon_host_v1:
# enabled: True
## MDS options
#
-#mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
#mds_max_mds: 1
## Rados Gateway options
# DEPRECATION #
###############
-#use_fqdn_yes_i_am_sure: false
######################################################
#monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using
#ip_version: ipv4
-#mon_use_fqdn: false # if set to true, the MON name used will be the fqdn in the ceph.conf
#mon_host_v1:
# enabled: True
## MDS options
#
-#mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
#mds_max_mds: 1
## Rados Gateway options
# DEPRECATION #
###############
-#use_fqdn_yes_i_am_sure: false
######################################################
{% if nb_mon > 0 and inventory_hostname in groups.get(mon_group_name, []) %}
mon initial members = {% for host in groups[mon_group_name] %}
- {% if hostvars[host]['ansible_fqdn'] is defined and mon_use_fqdn -%}
- {{ hostvars[host]['ansible_fqdn'] }}
- {%- elif hostvars[host]['ansible_hostname'] is defined -%}
+ {% if hostvars[host]['ansible_hostname'] is defined -%}
{{ hostvars[host]['ansible_hostname'] }}
{%- endif %}
{%- if not loop.last %},{% endif %}
monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using
ip_version: ipv4
-mon_use_fqdn: false # if set to true, the MON name used will be the fqdn in the ceph.conf
mon_host_v1:
enabled: True
## MDS options
#
-mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the ceph.conf
mds_max_mds: 1
## Rados Gateway options
# DEPRECATION #
###############
-use_fqdn_yes_i_am_sure: false
######################################################
- name: set_fact monitor_name ansible_hostname
set_fact:
monitor_name: "{{ ansible_hostname }}"
- when: not mon_use_fqdn | bool
-
-- name: set_fact monitor_name ansible_fqdn
- set_fact:
- monitor_name: "{{ ansible_fqdn }}"
- when: mon_use_fqdn | bool
- name: find a running monitor
when: groups.get(mon_group_name, []) | length > 0
- name: set_fact mds_name ansible_hostname
set_fact:
mds_name: "{{ ansible_hostname }}"
- when: not mds_use_fqdn | bool
-
-- name: set_fact mds_name ansible_fqdn
- set_fact:
- mds_name: "{{ ansible_fqdn }}"
- when: mds_use_fqdn | bool
- name: set_fact rbd_client_directory_owner ceph
set_fact:
- item.data is undefined
with_items: '{{ lvm_volumes }}'
-- name: warning deprecation for fqdn configuration
- fail:
- msg: "fqdn configuration is not supported anymore. Use 'use_fqdn_yes_i_am_sure: true' if you really want to use it. See release notes for more details"
- when:
- - mon_use_fqdn | bool or mds_use_fqdn | bool
- - not use_fqdn_yes_i_am_sure | bool
-
- name: debian based systems tasks
when: ansible_os_family == 'Debian'
block: