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.
 
 
 
 
 
Go to file
Jesse Keating c6f4d4328b Make sure requested version tag gets downloaded
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.

This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.

The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
11 years ago
cloud Create a common EC2 connection argument spec for EC2 modules 11 years ago
commands Adding no_log: capability for tasks 11 years ago
database Allow strings containing single and double quotes to be used as passwords for postgres_user 11 years ago
files Merge pull request #5363 from bcoca/acl_improved 11 years ago
internal ansible -> ansibleworks 11 years ago
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 11 years ago
messaging Use new syntax for module snippets in rabbitmq_policy and update changelog 11 years ago
monitoring module(nagios): don't catch `SystemExit` 11 years ago
net_infrastructure All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ). 11 years ago
network Clarify doc for get_url 11 years ago
notification ansible -> ansibleworks 11 years ago
packaging reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 11 years ago
source_control Make sure requested version tag gets downloaded 11 years ago
system Merge pull request #5554 from ttarabul/devel 11 years ago
utilities Detect remote_user change in accelerate daemon and allow a restart 11 years ago
web_infrastructure Clean up stray space at the end of a line after a period. 11 years ago