Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/266-dtc-server-sni-support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- nios_dtc_server - add support for alternate SNI for DTC servers (https://github.com/infobloxopen/infoblox-ansible/issues/266)
13 changes: 13 additions & 0 deletions plugins/modules/nios_dtc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
required: false
type: bool
default: False
use_sni_hostname:
description:
- Indicates whether or not to use an alternative SNI hostname. Setting
to True makes the sni_hostname field obligatory.
type: bool
default: False
sni_hostname:
description:
- The hostname for Server Name Indication (SNI) in FQDN format. Field is
ignored unless C(use_sni_hostname) is True
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
Expand Down Expand Up @@ -118,6 +129,8 @@ def main():
host=dict(required=True, ib_req=True),

disable=dict(type='bool', default=False),
use_sni_hostname=dict(type='bool', default=False),
sni_hostname=dict(type='str'),
extattrs=dict(type='dict'),
comment=dict(),
)
Expand Down