summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/uri
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2024-01-09 18:14:00 +0100
committerGitHub <noreply@github.com>2024-01-09 18:14:00 +0100
commit596c75c2bc5c8a7419f268a9c308d18d52762ca8 (patch)
tree36e1e1fcebbf7db81a92686f1f7cdc4ec6670ed8 /test/integration/targets/uri
parentansible-config dedupe ini plugin entries (#82498) (diff)
downloadansible-596c75c2bc5c8a7419f268a9c308d18d52762ca8.tar.xz
ansible-596c75c2bc5c8a7419f268a9c308d18d52762ca8.zip
uri action plugin check_mode support update (#82484)
Also updated base action messages to be more specific
Diffstat (limited to 'test/integration/targets/uri')
-rw-r--r--test/integration/targets/uri/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
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."