bigip_facts: Add missing "device" option
The device option was already implemented but omitted from docs and allowed choices. With the addition of device, a devices failover_state can be determined.
This commit is contained in:
parent
19e688b017
commit
3431275921
1 changed files with 4 additions and 4 deletions
|
@ -70,8 +70,8 @@ options:
|
|||
required: true
|
||||
default: null
|
||||
choices: ['address_class', 'certificate', 'client_ssl_profile',
|
||||
'device_group', 'interface', 'key', 'node', 'pool', 'rule',
|
||||
'self_ip', 'software', 'system_info', 'traffic_group',
|
||||
'device', 'device_group', 'interface', 'key', 'node', 'pool',
|
||||
'rule', 'self_ip', 'software', 'system_info', 'traffic_group',
|
||||
'trunk', 'virtual_address', 'virtual_server', 'vlan']
|
||||
aliases: []
|
||||
filter:
|
||||
|
@ -1593,8 +1593,8 @@ def main():
|
|||
regex = None
|
||||
include = map(lambda x: x.lower(), module.params['include'])
|
||||
valid_includes = ('address_class', 'certificate', 'client_ssl_profile',
|
||||
'device_group', 'interface', 'key', 'node', 'pool',
|
||||
'rule', 'self_ip', 'software', 'system_info',
|
||||
'device', 'device_group', 'interface', 'key', 'node',
|
||||
'pool', 'rule', 'self_ip', 'software', 'system_info',
|
||||
'traffic_group', 'trunk', 'virtual_address',
|
||||
'virtual_server', 'vlan')
|
||||
include_test = map(lambda x: x in valid_includes, include)
|
||||
|
|
Loading…
Reference in a new issue