ansible/library
Stephen Fromm 73772a41e6 Add check mode to git module
Related to issue #2114.  This hooks in check_mode to git module.  This
will exit with changed=True at the following places:

* If the repo has not been cloned
* If the destination has local modifications, this will exit with
  changed=True.  This is because reset() will exit anyways if there are
  local mods and force is False.
* If the remote HEAD commit id is not the same as that of the local HEAD.
  This is determined by get_remote_head() that runs 'git ls-remote' to
  determine remote HEAD.

Lastly, if this is run with check_mode enabled, this will exit with
changed=False before fetch() is invoked so that no local mods are made.
2013-03-14 22:29:04 -07:00
..
add_host For consistency, add host should take a key named 'name' in addition to 'hostname'. 2013-02-17 20:45:37 -05:00
apt Make apt upgrade=dist work and make its argument handling more idiomatic 2013-03-05 23:46:34 +01:00
apt_key Update various modules for check_mode 2013-02-27 12:23:35 -08:00
apt_repository Update various modules for check_mode 2013-02-27 12:23:35 -08:00
assemble Remove choices=BOOLEANS as it is no longer needed 2013-02-23 22:57:36 +01:00
async_status do not conditionalize this for older Python, fix indentation, better use 2012-12-17 21:07:36 +01:00
async_wrapper chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
authorized_key * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
cloudformation Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
command Use relative creates/removes path with chdir 2013-02-28 14:47:19 -08:00
copy Restore force in copy since arguments are no longer clobbered 2013-03-14 11:27:49 +01:00
cron Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
debug Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
django_manage Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
easy_install Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
ec2 Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
ec2_facts 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
ec2_vol Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
fetch Update fetch documentation 2013-03-17 23:17:56 -04:00
file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
fireball Log tracebacks to syslog when using fireball mode. 2013-03-01 18:24:48 -05:00
gem Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
get_url Merge pull request #2273 from dorfsmay/pullreq-use_proxy 2013-03-10 16:10:45 -07:00
git Add check mode to git module 2013-03-14 22:29:04 -07:00
group Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
group_by Add a group_by action plugin. 2012-10-29 13:10:23 +01:00
hg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
ini_file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
lineinfile Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
lvol Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
macports Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
mail mail module: properly set charset 2013-02-19 11:33:38 +01:00
mongodb_user 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
mount add docs to mount module using LABEL and UUID 2013-03-05 12:13:36 -05:00
mysql_db Use login_host for import and dump operations 2013-03-12 12:07:16 -04:00
mysql_user fix MySQL user doc formatting issue 2013-03-01 17:38:14 -05:00
nagios add (un)silence_nagios and command actions to the nagios module 2013-03-02 01:48:39 -05:00
netscaler netscaler module initial commit 2013-03-06 15:32:01 +01:00
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
openbsd_pkg Add openbsd_pkg: package management for OpenBSD. 2013-03-03 00:01:02 +01:00
opkg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pacman Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pause pause: Fix small documentation glitch 2013-02-20 15:17:49 +01:00
ping Working on complex argument support. 2013-02-17 15:01:49 -05:00
pip Expand any user home variable in pip module's virtualenv parameter 2013-03-13 20:58:04 -07:00
pkgin Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
postgresql_db Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
postgresql_user Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
rabbitmq_parameter Fixup the rabbitmq YAML documentation so we can generate docs for it. 2013-03-01 19:47:43 -05:00
rabbitmq_plugin Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_user Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_vhost Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
selinux Update various modules for check_mode 2013-02-27 12:23:35 -08:00
service Dont exit in FreeBSD/NetBSD subclass in check mode 2013-03-12 20:25:25 +01:00
setup Merge pull request #2396 from johanwiren/obsd_facts 2013-03-14 08:26:05 -07:00
shell DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
slurp slurp: import base64 as module_common no longer does 2013-03-02 10:26:09 +01:00
subversion Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
supervisorctl Update various modules for check_mode 2013-02-27 12:23:35 -08:00
svr4pkg Update various modules for check_mode 2013-02-27 12:23:35 -08:00
sysctl Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
template Added additional template variables 2013-01-04 16:36:02 +10:00
uri Make URI module default to 30 seconds. 2013-03-17 23:16:45 -04:00
user Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
virt virt module doc fix 2013-02-28 18:04:25 -08:00
wait_for removed env as per project policy 2012-11-27 11:18:46 -05:00
yum Teach the yum module to support --check mode. 2013-02-17 18:18:43 -05:00
zfs Added support for --check in zfs module 2013-02-22 15:01:18 +01:00