summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/git/tasks/no-destination.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/git/tasks/no-destination.yml')
-rw-r--r--test/integration/targets/git/tasks/no-destination.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/git/tasks/no-destination.yml b/test/integration/targets/git/tasks/no-destination.yml
new file mode 100644
index 0000000..1ef7f2f
--- /dev/null
+++ b/test/integration/targets/git/tasks/no-destination.yml
@@ -0,0 +1,13 @@
+# Test a non-updating repo query with no destination specified
+
+- name: NO-DESTINATION | get info on a repo without updating and with no destination specified
+ git:
+ repo: '{{ repo_dir }}/minimal'
+ update: no
+ clone: no
+ accept_hostkey: yes
+ register: git_result
+
+- assert:
+ that:
+ - git_result is changed