2017-01-06 22:38:53 +00:00
|
|
|
# Test a non-updating repo query with no destination specified
|
|
|
|
|
2017-10-13 14:30:15 +00:00
|
|
|
- name: NO-DESTINATION | get info on a repo without updating and with no destination specified
|
2017-01-06 22:38:53 +00:00
|
|
|
git:
|
|
|
|
repo: '{{ repo_dir }}/minimal'
|
|
|
|
update: no
|
|
|
|
clone: no
|
|
|
|
accept_hostkey: yes
|
|
|
|
register: git_result
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that:
|
2017-10-13 14:30:15 +00:00
|
|
|
- git_result | changed
|