f5os_allowed_ips – Manage allowed IPs using openAPI on F5OS based systems

New in version 1.9.0.

Synopsis

  • Manage allowed IPs using openAPI on F5OS based systems

Parameters

Parameter Choices/Defaults Configuration Comments
allowed
list / elements=dictionary
Specify Name, IP Address, Prefix Length and Port for an allowed address
ipv4
dictionary
Specifies IPv4 endpoint as allowed address
address
string
I
P
v
4
a
d
d
r
e
s
s
port
integer
a
l
l
o
w
e
d
p
o
r
t
prefix
integer
l
e
n
g
t
h
o
f
p
r
e
f
i
x
ipv6
dictionary
Specifies IPv6 endpoint as allowed address
address
string
I
P
v
6
a
d
d
r
e
s
s
port
integer
a
l
l
o
w
e
d
p
o
r
t
prefix
integer
l
e
n
g
t
h
o
f
p
r
e
f
i
x
name
string / required
Unique name for allowed address
state
string
    Choices:
  • present ←
  • absent
Allowed IPs state of F5OS system
If present, Specified Allowed IPs configuration will be pushed to F5OS system.
If absent, deletes the Allowed IPs configuration if it exists.

Examples

- name: Create IPv4 Allowed IPs
  f5os_allowed_ips:
    allowed:
      - name: admins
        ipv4:
          address: 192.168.0.0
          prefix: 24
      - name: snmp
        ipv4:
          address: 10.1.0.0
          prefix: 24
          port: 161

- name: Delete IPv4 Allowed IPs Config
  f5os_allowed_ips:
    allowed:
      - name: admins
        ipv4:
          address: 192.168.0.0
          prefix: 24
      - name: snmp
        ipv4:
          address: 10.1.0.0
          prefix: 24
          port: 161
    state: absent

Return Values

The following are the fields unique to this module:

Key Returned Description
allowed
list
changed
Specifies allowed IP addresses per Service



Status

Authors

  • Martin Vogel (@MVogel91)