summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/git/tasks/no-destination.yml
blob: 1ef7f2fd1942c2093a3bf2ffd27fb47a66242db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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