ansible/lib/ansible
Robin Roth afca957396 Fix UnboundLocalError remote_head in git (#19057)
* Fix UnboundLocalError remote_head in git

Fixes #5505

The use of remote_head was a leftover of #4562.
remote_head is not necessary, since the repo is unchanged anyway and
after is set correctly.

Further changes:
* Set changed=True and msg once local_mods are detected and reset.
* Remove need_fetch that is always True (due to previous if) to improve
clarity
* Don't exit early for local_mods but run submodules update and
switch_version

* Add test for git with local modifications
2016-12-14 08:36:15 -08:00
..
cli Fix errors on 'ansible-playbook --flush-cache' (#18754) 2016-12-13 14:35:15 -05:00
compat
config
errors
executor minor spelling changes 2016-12-13 13:51:13 -05:00
galaxy
inventory minor spelling changes 2016-12-13 13:51:13 -05:00
module_utils cloud: ovirt: Add support to list nested entities parameters (#19300) 2016-12-14 11:15:50 -05:00
modules Fix UnboundLocalError remote_head in git (#19057) 2016-12-14 08:36:15 -08:00
parsing Fix regression in search path behaviour 2016-12-14 10:33:14 -05:00
playbook Removed dict.iteritems() in several other files. 2016-12-14 08:01:45 -08:00
plugins Removed dict.iteritems() in several other files. 2016-12-14 08:01:45 -08:00
template Fix AST nodes for Python 3 and enable dependent test_uri (#18597) 2016-12-13 07:37:39 -08:00
utils minor spelling changes 2016-12-13 13:51:13 -05:00
vars
__init__.py
constants.py minor spelling changes 2016-12-13 13:51:13 -05:00
release.py
test-requirements.txt