Skip to content

Commit

Permalink
feat: add support for SNI in nios_dtc_server
Browse files Browse the repository at this point in the history
  • Loading branch information
jbisabel committed Sep 25, 2024
1 parent d0debc5 commit 064a469
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
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

0 comments on commit 064a469

Please sign in to comment.