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

39 lines
1.3 KiB
YAML
Raw Normal View History

2014-02-20 03:13:47 +01:00
# test code for the git module
# (c) 2014, James Tanner <tanner.jc@gmail.com>
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- include_tasks: setup.yml
- include_tasks: setup-local-repos.yml
- include_tasks: formats.yml
- include_tasks: missing_hostkey.yml
- include_tasks: no-destination.yml
- include_tasks: specific-revision.yml
- include_tasks: submodules.yml
- include_tasks: change-repo-url.yml
- include_tasks: depth.yml
- include_tasks: checkout-new-tag.yml
- include_tasks: gpg-verification.yml
when:
- not gpg_version.stderr
- gpg_version.stdout
- git_version.stdout | version_compare("2.1.0", '>=')
- include_tasks: localmods.yml
- include_tasks: reset-origin.yml
- include_tasks: ambiguous-ref.yml
- include_tasks: archive.yml