2017-08-05 02:18:11 +08:00
|
|
|
# This is seed configuration used by the ceph_iscsi_config modules
|
|
|
|
# when handling configuration tasks for iscsi gateway(s)
|
|
|
|
#
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
|
|
[config]
|
|
|
|
cluster_name = {{ cluster }}
|
|
|
|
|
2020-11-25 01:35:23 +08:00
|
|
|
pool = {{ iscsi_pool_name }}
|
|
|
|
|
2018-03-23 11:24:56 +08:00
|
|
|
# API settings.
|
|
|
|
# The API supports a number of options that allow you to tailor it to your
|
|
|
|
# local environment. If you want to run the API under https, you will need to
|
|
|
|
# create cert/key files that are compatible for each iSCSI gateway node, that is
|
|
|
|
# not locked to a specific node. SSL cert and key files *must* be called
|
|
|
|
# 'iscsi-gateway.crt' and 'iscsi-gateway.key' and placed in the '/etc/ceph/' directory
|
|
|
|
# on *each* gateway node. With the SSL files in place, you can use 'api_secure = true'
|
|
|
|
# to switch to https mode.
|
|
|
|
|
|
|
|
# To support the API, the bear minimum settings are:
|
|
|
|
api_secure = {{ api_secure }}
|
2017-08-05 02:18:11 +08:00
|
|
|
|
|
|
|
# Optional settings related to the CLI/API service
|
2018-03-23 11:24:56 +08:00
|
|
|
api_user = {{ api_user }}
|
|
|
|
api_password = {{ api_password }}
|
|
|
|
api_port = {{ api_port }}
|
|
|
|
loop_delay = {{ loop_delay }}
|
|
|
|
trusted_ip_list = {{ trusted_ip_list }}
|