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