You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/git/tasks
Abhijeet Kasurde a047fe0e4c Correct usage for shutil.rmtree (#31541)
* Correct usage for shutil.rmtree

Fix adds correct usage of shutil.rmtree in git module

Fixes: #31225

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

* Include archive tests so they get run

* Use new include syntax

* Cleanup syntax on git tests

- use multi-line YAML
- remove unneeded {{ }} around vars in conditionals
- remove unneeded quotes
- add task file name to task names for easier troubleshooting when things fail

* Make archive tests work for RHEL/CentOS 6

The older versions of Jinja2 in RHEL/CentOS 6 required assertion tasks using the map filter to be skipped.

The older version of git required gzip compression to be skipped on RHEL/CentOS 6.

* Account for ansible_distribution_major_version missing
7 years ago
..
ambiguous-ref.yml Correct usage for shutil.rmtree (#31541) 7 years ago
archive.yml Correct usage for shutil.rmtree (#31541) 7 years ago
change-repo-url.yml Correct usage for shutil.rmtree (#31541) 7 years ago
checkout-new-tag.yml Correct usage for shutil.rmtree (#31541) 7 years ago
depth.yml Correct usage for shutil.rmtree (#31541) 7 years ago
formats.yml Correct usage for shutil.rmtree (#31541) 7 years ago
gpg-verification.yml Correct usage for shutil.rmtree (#31541) 7 years ago
localmods.yml Correct usage for shutil.rmtree (#31541) 7 years ago
main.yml Correct usage for shutil.rmtree (#31541) 7 years ago
missing_hostkey.yml Correct usage for shutil.rmtree (#31541) 7 years ago
no-destination.yml Correct usage for shutil.rmtree (#31541) 7 years ago
reset-origin.yml Correct usage for shutil.rmtree (#31541) 7 years ago
setup-local-repos.yml Correct usage for shutil.rmtree (#31541) 7 years ago
setup.yml Correct usage for shutil.rmtree (#31541) 7 years ago
specific-revision.yml Correct usage for shutil.rmtree (#31541) 7 years ago
submodules.yml Correct usage for shutil.rmtree (#31541) 7 years ago