diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2024-01-09 18:14:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 18:14:00 +0100 |
commit | 596c75c2bc5c8a7419f268a9c308d18d52762ca8 (patch) | |
tree | 36e1e1fcebbf7db81a92686f1f7cdc4ec6670ed8 /test/integration/targets/uri | |
parent | ansible-config dedupe ini plugin entries (#82498) (diff) | |
download | ansible-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.yml | 11 |
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." |