diff --git a/tests/integration/targets/filter_from_ini/aliases b/tests/integration/targets/filter_from_ini/aliases new file mode 100644 index 0000000000..afda346c4e --- /dev/null +++ b/tests/integration/targets/filter_from_ini/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +azp/posix/1 diff --git a/tests/integration/targets/filter_json_patch/aliases b/tests/integration/targets/filter_json_patch/aliases new file mode 100644 index 0000000000..afda346c4e --- /dev/null +++ b/tests/integration/targets/filter_json_patch/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +azp/posix/1 diff --git a/tests/integration/targets/filter_json_patch/tasks/main.yml b/tests/integration/targets/filter_json_patch/tasks/main.yml index 014133acad..d892a55130 100644 --- a/tests/integration/targets/filter_json_patch/tasks/main.yml +++ b/tests/integration/targets/filter_json_patch/tasks/main.yml @@ -126,12 +126,18 @@ input | community.general.json_diff(target) | sort(attribute='path') - == - [ - {"op": "add", "path": "/baq", "value": {"baz": 2}}, - {"op": "remove", "path": "/baw/1"}, - {"op": "replace", "path": "/hello", "value": "night"}, - ] + in [expected_1, expected_2] vars: input: {"foo": 1, "bar":{"baz": 2}, "baw": [1, 2, 3], "hello": "day"} target: {"foo": 1, "bar": {"baz": 2}, "baw": [1, 3], "baq": {"baz": 2}, "hello": "night"} + expected_1: + # Older jsonpatch version + - {"op": "add", "path": "/baq", "value": {"baz": 2}} + - {"op": "remove", "path": "/baw/1"} + - {"op": "replace", "path": "/hello", "value": "night"} + expected_2: + # Newer jsonpatch version + - {"op": "add", "path": "/baq", "value": {"baz": 2}} + - {"op": "remove", "path": "/baw/1"} + - {"op": "move", "path": "/baw/1", "from": "/baw/2"} + - {"op": "replace", "path": "/hello", "value": "night"} diff --git a/tests/integration/targets/filter_to_ini/aliases b/tests/integration/targets/filter_to_ini/aliases new file mode 100644 index 0000000000..afda346c4e --- /dev/null +++ b/tests/integration/targets/filter_to_ini/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +azp/posix/1 diff --git a/tests/integration/targets/keycloak_client/aliases b/tests/integration/targets/keycloak_client/aliases new file mode 100644 index 0000000000..3d902b5afd --- /dev/null +++ b/tests/integration/targets/keycloak_client/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +unsupported diff --git a/tests/integration/targets/keycloak_clientscope_type/aliases b/tests/integration/targets/keycloak_clientscope_type/aliases new file mode 100644 index 0000000000..3d902b5afd --- /dev/null +++ b/tests/integration/targets/keycloak_clientscope_type/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +unsupported diff --git a/tests/integration/targets/keycloak_clientsecret_info/aliases b/tests/integration/targets/keycloak_clientsecret_info/aliases new file mode 100644 index 0000000000..3d902b5afd --- /dev/null +++ b/tests/integration/targets/keycloak_clientsecret_info/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +unsupported diff --git a/tests/integration/targets/keycloak_clientsecret_regenerate/aliases b/tests/integration/targets/keycloak_clientsecret_regenerate/aliases new file mode 100644 index 0000000000..3d902b5afd --- /dev/null +++ b/tests/integration/targets/keycloak_clientsecret_regenerate/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +unsupported diff --git a/tests/integration/targets/lookup_github_app_access_token/aliases b/tests/integration/targets/lookup_github_app_access_token/aliases new file mode 100644 index 0000000000..bd1f024441 --- /dev/null +++ b/tests/integration/targets/lookup_github_app_access_token/aliases @@ -0,0 +1,5 @@ +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +unsupported diff --git a/tests/integration/targets/github_app_access_token/files/app-private-key.pem b/tests/integration/targets/lookup_github_app_access_token/files/app-private-key.pem similarity index 100% rename from tests/integration/targets/github_app_access_token/files/app-private-key.pem rename to tests/integration/targets/lookup_github_app_access_token/files/app-private-key.pem diff --git a/tests/integration/targets/github_app_access_token/files/app-private-key.pem.license b/tests/integration/targets/lookup_github_app_access_token/files/app-private-key.pem.license similarity index 100% rename from tests/integration/targets/github_app_access_token/files/app-private-key.pem.license rename to tests/integration/targets/lookup_github_app_access_token/files/app-private-key.pem.license diff --git a/tests/integration/targets/github_app_access_token/tasks/main.yml b/tests/integration/targets/lookup_github_app_access_token/tasks/main.yml similarity index 100% rename from tests/integration/targets/github_app_access_token/tasks/main.yml rename to tests/integration/targets/lookup_github_app_access_token/tasks/main.yml diff --git a/tests/integration/targets/github_app_access_token/vars/main.yml b/tests/integration/targets/lookup_github_app_access_token/vars/main.yml similarity index 100% rename from tests/integration/targets/github_app_access_token/vars/main.yml rename to tests/integration/targets/lookup_github_app_access_token/vars/main.yml