From 596c75c2bc5c8a7419f268a9c308d18d52762ca8 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 9 Jan 2024 12:14:00 -0500 Subject: uri action plugin check_mode support update (#82484) Also updated base action messages to be more specific --- test/integration/targets/uri/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/integration/targets/uri') diff --git a/test/integration/targets/uri/tasks/main.yml b/test/integration/targets/uri/tasks/main.yml index 5df9544750..23aa6436f9 100644 --- a/test/integration/targets/uri/tasks/main.yml +++ b/test/integration/targets/uri/tasks/main.yml @@ -697,3 +697,14 @@ - name: Test unix socket import_tasks: install-socat-and-test-unix-socket.yml + +- name: ensure skip action + uri: + url: http://example.com + check_mode: True + register: uri_check + +- name: check that we skipped at action + assert: + that: + - uri_check.msg == "This action (uri) does not support check mode." -- cgit v1.2.3