Skip to content

Commit df65928

Browse files
committed
Updated ansible module to remove unsafetext function
1 parent 1747137 commit df65928

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ansible/collections/ansible_collections/nhsd/apigee/plugins/module_utils/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import typing
66

77
from ansible_collections.nhsd.apigee.plugins.module_utils import constants
8+
from ansible.parsing.yaml.objects import AnsibleUnsafeText
89

910

1011
def exclude_keys(dict_, keys_to_ignore):
@@ -19,7 +20,7 @@ def delta(before, after, keys_to_ignore=None):
1920
before,
2021
after,
2122
ignore_order=True,
22-
ignore_type_in_groups=[(ansible.utils.unsafe_proxy.AnsibleUnsafeText,str)],
23+
ignore_type_in_groups=[(AnsibleUnsafeText,str)],
2324
exclude_paths=[f"root['{key}']" for key in keys_to_ignore],
2425
).to_json()
2526
)

azure/common/apigee-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ parameters:
150150
default: 'DEPRECATED'
151151
- name: python_version
152152
type: string
153-
default: "3.8"
153+
default: "3.13"
154154
- name: agent_pool
155155
type: string
156156
default: "AWS-ECS"

0 commit comments

Comments
 (0)