ansible/test/integration/targets/git/tasks/no-destination.yml

15 lines
314 B
YAML
Raw Normal View History

---
# 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'