IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

new junction parameters support for ISAM9.0.4 and above #95

Open bjsong19 opened 5 years ago

bjsong19 commented 5 years ago

Python API from IBMSecurity have been updated to support following 3 new parameters: http2_junction: to support http2 protocol or not http2_proxy: to support http2 proxy or not sni_name: the DNS name of the certificate for SSL junction server

Accordingly, the role isam-ansible-roles/add_junction and set_junction should be changed to support the new parameters like below:

It would be great if the role accept a parameter of {{junction_def}} or {{junctions_def}} just like api_protection for api_protection definition roles within a loop so such specific parameters would not be cared in role level.

  http2_junction:                   "{{ set_junction_http2_junction }}"
  http2_proxy:                      "{{ set_junction_http2_proxy }}"
  sni_name:                         "{{ set_junction_sni_name }}"