From 34312759213fb003438e89c7ce48aa26b329eea3 Mon Sep 17 00:00:00 2001 From: Andy Hill Date: Thu, 2 Apr 2015 13:44:07 -0400 Subject: [PATCH] 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. --- network/f5/bigip_facts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/network/f5/bigip_facts.py b/network/f5/bigip_facts.py index 99a1e31de68..866119e94c3 100755 --- a/network/f5/bigip_facts.py +++ b/network/f5/bigip_facts.py @@ -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)