Skip to content

Commit de130bb

Browse files
Merge pull request #124 from meraki/develop
Update to version 2.21.5
2 parents 68b2b8b + 653bfe0 commit de130bb

File tree

8 files changed

+49
-15
lines changed

8 files changed

+49
-15
lines changed

.github/workflows/sanity_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/setup-python@v3
3333
with:
34-
python-version: '3.11'
34+
python-version: '3.12'
3535
- name: Install ansible-base (${{ matrix.ansible }})
3636
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
3737
- name: Run sanity tests

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Cisco.Meraki Release Notes
44

55
.. contents:: Topics
66

7+
v2.21.5
8+
=======
9+
10+
Bugfixes
11+
--------
12+
13+
- cisco.meraki.devices_appliance_uplinks_settings - fix idempotency error.
14+
715
v2.21.4
816
=======
917

changelogs/changelog.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,3 +1267,8 @@ releases:
12671267
bugfixes:
12681268
- cisco.meraki.networks_appliance_traffic_shaping_uplink_bandwidth - fix idempotency error.
12691269
release_date: "2025-06-10"
1270+
2.21.5:
1271+
changes:
1272+
bugfixes:
1273+
- cisco.meraki.devices_appliance_uplinks_settings - fix idempotency error.
1274+
release_date: "2025-09-11"

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
namespace: cisco
33
name: meraki
4-
version: 2.21.4
4+
version: 2.21.5
55
readme: README.md
66
authors:
77
- Francisco Muñoz <[email protected]>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
- name: Devices Appliance Uplinks Settings
2+
hosts: localhost
3+
gather_facts: false
4+
tasks:
5+
6+
- name: Set MX WAN 1 IP
7+
cisco.meraki.devices_appliance_uplinks_settings:
8+
state: present
9+
meraki_suppress_logging: false
10+
interfaces:
11+
wan1:
12+
enabled: false
13+
pppoe:
14+
enabled: false
15+
svis:
16+
ipv4:
17+
address: 3.2.3.4/28
18+
assignmentMode: static
19+
gateway: 3.2.3.1
20+
nameservers:
21+
addresses:
22+
- 8.8.8.8
23+
- 1.1.1.1
24+
vlanTagging:
25+
enabled: false
26+
serial: QBSA-D8CD-5LR6

plugins/action/devices_appliance_uplinks_settings.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
MERAKI,
2222
meraki_argument_spec,
2323
meraki_compare_equality2,
24-
get_dict_result,
2524
)
2625
from ansible_collections.cisco.meraki.plugins.plugin_utils.exceptions import (
2726
InconsistentParameters,
@@ -77,10 +76,6 @@ def get_object_by_name(self, name):
7776
function="getDeviceApplianceUplinksSettings",
7877
params=self.get_all_params(name=name),
7978
)
80-
if isinstance(items, dict):
81-
if 'interfaces' in items:
82-
items = items.get('interfaces')
83-
result = get_dict_result(items, 'name', name)
8479
if result is None:
8580
result = items
8681
except Exception as e:

workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: configure git
1616
run: |
1717
git config user.name "${GITHUB_ACTOR}"
1818
git config user.email "${GITHUB_ACTOR}@bots.github.com"
1919
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
2020
- name: Set up Python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v4
2222
with:
23-
python-version: "3.7"
23+
python-version: "3.12"
2424
- name: Install dependencies
2525
run: make doc-setup
2626
- name: Build docs

workflows/sanity_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
strategy:
1414
matrix:
1515
ansible:
16-
- stable-2.10
17-
- stable-2.11
16+
- stable-2.15
17+
- stable-2.16
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222
with:
2323
path: meraki/meraki-ansible
2424
- name: Create directory
2525
run: mkdir -p ./ansible_collections/${{env.NAMESPACE}}
2626
- name: Move repository
2727
run: mv ./meraki/meraki-ansible ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
2828
- name: Set up Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.8
31+
python-version: 3.12
3232
- name: Install ansible-base (${{ matrix.ansible }})
3333
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
3434
- name: Run sanity tests

0 commit comments

Comments
 (0)