Debian Codegraph @

test/integration/targets/git/tasks/main.yml

raw
1 # test code for the git module
2 # (c) 2014, James Tanner <[email protected]>
3
4 # This file is part of Ansible
5 #
6 # Ansible is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # Ansible is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
18
19 # NOTE: Moving `$HOME` to tmp dir allows this integration test be
20 # NOTE: non-destructive. There is no other way to instruct Git use a custom
21 # NOTE: config path. There are new `$GIT_CONFIG_KEY_{COUNT,KEY,VALUE}` vars
22 # NOTE: for setting specific configuration values but those are only available
23 # NOTE: since Git v2.31 which is why we cannot rely on them yet.
24
25 - block:
26 - import_tasks: setup.yml
27 - import_tasks: setup-local-repos.yml
28
29 - import_tasks: formats.yml
30 - import_tasks: missing_hostkey.yml
31 - import_tasks: missing_hostkey_acceptnew.yml
32 - import_tasks: no-destination.yml
33 - import_tasks: specific-revision.yml
34 - import_tasks: specific-rev-diff-check.yml
35 - import_tasks: submodules.yml
36 - import_tasks: track-submodules-branch.yml
37 - import_tasks: change-repo-url.yml
38 - import_tasks: depth.yml
39 - import_tasks: single-branch.yml
40 - import_tasks: checkout-new-tag.yml
41 - include_tasks: gpg-verification.yml
42 when:
43 - not gpg_version.stderr
44 - gpg_version.stdout is truthy
45 - import_tasks: localmods.yml
46 - import_tasks: reset-origin.yml
47 - import_tasks: ambiguous-ref.yml
48 - import_tasks: archive.yml
49 - import_tasks: separate-git-dir.yml
50 - import_tasks: forcefully-fetch-tag.yml
51 - import_tasks: invalid-ref.yml
52 environment:
53 HOME: >-
54 {{ remote_tmp_dir }}