Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.16.5 #13

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Cisco.Meraki Release Notes

.. contents:: Topics

v2.16.5
=======

Bugfixes
-------------

- cisco.meraki.organizations_login_security module will not update org api authentication - fixing for look at organizations_login_security.

v2.16.4
=======

Expand Down
7 changes: 6 additions & 1 deletion changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -886,4 +886,9 @@ releases:
changes:
bugfixes:
- cisco.meraki.networks_devices_claim - got an unexpected keyword argument 'network_id', bug with parameter naming.
release_date: '2023-09-28'
release_date: '2023-09-28'
2.16.5:
changes:
bugfixes:
- cisco.meraki.organizations_login_security module will not update org api authentication - fixing for look at organizations_login_security.
release_date: '2023-10-10'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: meraki
version: 2.16.4
version: 2.16.5
readme: README.md
authors:
- Francisco Muñoz <[email protected]>
Expand Down
25 changes: 25 additions & 0 deletions playbooks/organizations_login_security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- hosts: localhost
vars:
vars:
org_id: 828099381482762270 # API TEST
gather_facts: false
tasks:

- name: Get security login settings
cisco.meraki.organizations_login_security_info:
organizationId: "{{ org_id }}"
register:
result

- name: Show result
ansible.builtin.debug:
msg: "{{ result }}"

- name: Update security login settings
cisco.meraki.organizations_login_security:
meraki_suppress_logging: false
organizationId: "{{ org_id }}"
state: present
accountLockoutAttempts: 3
enforceIdleTimeout: true
enforceTwoFactorAuth: true
2 changes: 1 addition & 1 deletion plugins/action/organizations_login_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def exists(self):
id_exists = False
name_exists = False
o_id = self.new_object.get("id")
name = self.new_object.get("name")
name = self.new_object.get("organization_id")
if o_id:
prev_obj = self.get_object_by_name(o_id)
id_exists = prev_obj is not None and isinstance(prev_obj, dict)
Expand Down