mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cd02d0ca1d
* Cleanup git tests * Split git tests in seperate files * Remove use of repo_depth_url * Use native yaml * Remove unnecessary remote/local clones * Fix newlines for yamllint * If the hash is valid (full-length) but doesn't exist, git returns 128 instead of 1. * Ensure git doesn't use hardlinks for shallow clones
14 lines
314 B
YAML
14 lines
314 B
YAML
---
|
|
# Test a non-updating repo query with no destination specified
|
|
|
|
- name: 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.changed'
|