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:
Andy Hill 2015-04-02 13:44:07 -04:00
parent 19e688b017
commit 3431275921

View file

@ -70,8 +70,8 @@ options:
required: true required: true
default: null default: null
choices: ['address_class', 'certificate', 'client_ssl_profile', choices: ['address_class', 'certificate', 'client_ssl_profile',
'device_group', 'interface', 'key', 'node', 'pool', 'rule', 'device', 'device_group', 'interface', 'key', 'node', 'pool',
'self_ip', 'software', 'system_info', 'traffic_group', 'rule', 'self_ip', 'software', 'system_info', 'traffic_group',
'trunk', 'virtual_address', 'virtual_server', 'vlan'] 'trunk', 'virtual_address', 'virtual_server', 'vlan']
aliases: [] aliases: []
filter: filter:
@ -1593,8 +1593,8 @@ def main():
regex = None regex = None
include = map(lambda x: x.lower(), module.params['include']) include = map(lambda x: x.lower(), module.params['include'])
valid_includes = ('address_class', 'certificate', 'client_ssl_profile', valid_includes = ('address_class', 'certificate', 'client_ssl_profile',
'device_group', 'interface', 'key', 'node', 'pool', 'device', 'device_group', 'interface', 'key', 'node',
'rule', 'self_ip', 'software', 'system_info', 'pool', 'rule', 'self_ip', 'software', 'system_info',
'traffic_group', 'trunk', 'virtual_address', 'traffic_group', 'trunk', 'virtual_address',
'virtual_server', 'vlan') 'virtual_server', 'vlan')
include_test = map(lambda x: x in valid_includes, include) include_test = map(lambda x: x in valid_includes, include)