ansible/test/integration/targets/git
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
..
meta Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
tasks Fix UnboundLocalError remote_head in git (#19057) 2016-12-14 08:36:15 -08:00
aliases Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00