From 07b87c2ab7b727efc7f492277c80d39654011639 Mon Sep 17 00:00:00 2001 From: Kevin Breit Date: Sun, 9 Sep 2018 13:31:35 -0500 Subject: [PATCH] meraki_network - Fix enabling my.meraki.com (#45352) * Fix enabling my.meraki.com - A parameter of "no" wouldn't be picked up - Check for False in addition to whether it exists * Clean up disable_my_meraki parameter check (cherry picked from commit afbf72cfeb2517f36c4e30938d5bb53293640c47) --- lib/ansible/modules/network/meraki/meraki_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/meraki/meraki_network.py b/lib/ansible/modules/network/meraki/meraki_network.py index 34b408f66d..5d4f28a51b 100644 --- a/lib/ansible/modules/network/meraki/meraki_network.py +++ b/lib/ansible/modules/network/meraki/meraki_network.py @@ -226,7 +226,7 @@ def main(): payload['tags'] = construct_tags(meraki.params['tags']) if meraki.params['timezone']: payload['timeZone'] = meraki.params['timezone'] - if meraki.params['disable_my_meraki']: + if meraki.params['disable_my_meraki'] is not None: payload['disableMyMerakiCom'] = meraki.params['disable_my_meraki'] # manipulate or modify the state as needed (this is going to be the