bigip_sslo_config_resolver – Manage the SSL Orchestrator DNS resolver config

New in version 1.6.0.

Synopsis

  • Manage the SSL Orchestrator DNS resolver configuration.

Parameters

Parameter Choices/Defaults Configuration Comments
dump_json
boolean
    Choices:
  • no ←
  • yes
Sets the module to output a JSON blob for further consumption.
When yes, does not make any changes on the device and always returns changed=False.
The output provided is idempotent in nature, meaning if there are no changes to be made during MODIFY on an existing service, no JSON output is generated.
fwd_name_servers
list / elements=string
Specifies the list of IP addresses for forwarding nameservers.
This parameter is mutually exclusive with fwd_zones.
fwd_zones
list / elements=dictionary
Specifies the list of zone and servers key pairs.
This parameter is mutually exclusive with fwd_name_servers.
servers
list / elements=string
Defines the list of nameserver IP addresses for this zone.
The zone and servers parameters are required together when defining a zone.
zone
string
Defines the zone pattern.
The zone and servers parameters are required together when defining a zone.
timeout
integer
Default:
300
The amount of time to wait for the CREATE or MODIFY task to complete, in seconds.
The accepted value range is between 10 and 1800 seconds.

Examples

- hosts: all
  collections:
    - f5networks.f5_bigip
  connection: httpapi

  vars:
    ansible_host: "lb.mydomain.com"
    ansible_user: "admin"
    ansible_httpapi_password: "secret"
    ansible_network_os: f5networks.f5_bigip.bigip
    ansible_httpapi_use_ssl: yes

  tasks:
    - name: SSLO dns resolver (forwarding nameservers)
      bigip_sslo_config_resolver:
        fwd_name_servers:
          - "10.1.20.1"
          - "10.1.20.2"
          - "fd66:2735:1533:46c1:68c8:0:0:7110"
          - "fd66:2735:1533:46c1:68c8:0:0:7111"

    - name: SSLO dns resolver (forwarding zones)
      bigip_sslo_config_resolver:
        fwd_zones:
          - zone: "."
            servers:
              - "10.1.20.1"
              - "10.1.20.5"
          - zone: "foo."
            servers:
              - "8.8.8.8"
              - "8.8.4.4"
              - "fd66:2735:1533:46c1:68c8:0:0:7113"

Return Values

The following are the fields unique to this module:

Key Returned Description
fwd_name_servers
string
changed
Changed list of nameserver IP addresses.

Sample:
8.8.8.8
fwd_zones
complex
changed
Changed list of zone, server key pairs.

  servers
string
The list of nameserver IP addresses for this zone.

Sample:
8.8.8.8
  zone
string
The zone pattern.

Sample:
.


Status

Authors

  • Wojciech Wypior (@wojtek0806)
  • Kevin Stewart (@kevingstewart)