Commit Graph

1453 Commits (88972c996a0d5e6f806e9c66d54c6dcf259c0f4f)
 

Author SHA1 Message Date
Stephen Fromm 3d1b67d1b3 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.
12 years ago
Serge van Ginderachter 90e51b2a5e rename user option nonunique tot non_unique 12 years ago
Serge van Ginderachter 56592d70c9 Add nonunique option to user module, translating to the -o/--non-unique option to useradd and usermod. 12 years ago
Michael DeHaan 610043a2be Merge pull request #2396 from johanwiren/obsd_facts
Added OpenBSD facts
12 years ago
Michael DeHaan 8a78af274a Merge pull request #2393 from davehughes/pip-expand-virtualenv-path
pip module - expand user home directory variables in virtualenv parameter
12 years ago
Johan Wirén fc46a58e8e Added OpenBSD facts 12 years ago
Daniel Hokka Zakrisson 9b0e0fa15f Restore force in copy since arguments are no longer clobbered
Fixes #2388.
12 years ago
Alexander Bulimov 19174311af now using 'type=' for module parameters, replaced lambda with list comprehensions, simplyfied extend/reduce part of module, renamed dev parameter to pvs 12 years ago
Jimmy Tang f52673eebd Teach the macports module to activate/deactivate packages
Deactivating a package from macports does not remove the files, it
just unstages it from the runtime environment. Activating a package
re-enables it.
12 years ago
David Hughes c75d5e18fd Expand any user home variable in pip module's virtualenv parameter 12 years ago
Michael DeHaan 0ca35d04a8 Let the pip module return output. 12 years ago
Brian Coca 2a47bb5b7a now actually import exception to be usable 12 years ago
Brian Coca d3f6071d66 now catches lock exceptoins on apt and returns friendly message instead of
traceback

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Brian Coca 21e6e72250 added docs about in template overrides
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
12 years ago
Michael DeHaan fdee719d79 Temporarily disable force logic on copy module 12 years ago
Michael DeHaan 59bbde24aa Merge pull request #2376 from peterjanes/devel
Use login_host for import and dump operations
12 years ago
Patrik Lundin 4a3622200a Dont exit in FreeBSD/NetBSD subclass in check mode
* As the FIXMEs note: only exit if enable state is going to change.
* This is already handled in service_enable_rcconf() being called by both subclasses.
12 years ago
Peter Janes accfff0c66 Use login_host for import and dump operations 12 years ago
Dag Wieers d4bb57d42d Fix the documentation booleans so they use "yes" and "no"
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
12 years ago
Michael DeHaan 84527b1d31 Add type casting to user/group modules, remove executable bit from other modules 12 years ago
Alexander Bulimov b034b5e8cc various fixes in lvg module, added ability to reduce and extend VG, added Physical Extent parameter, added explicit creation of physical volumes 12 years ago
André Paramés 0417dc8418 Added Bazaar module, based on the Git module 12 years ago
Alexander Bulimov 12b10dabbc lvg module for managing LVM volume groups 12 years ago
Alexander Bulimov de92d6840e lvol patch for Debian Squeeze 12 years ago
Michael DeHaan e7232e6220 Merge pull request #2316 from dominis/devel
Citrix NetScaler module
12 years ago
Michael DeHaan 2a5c1e615c Merge pull request #2272 from skvidal/nagios_cmd
add (un)silence_nagios and command actions to the nagios module
12 years ago
Michael DeHaan 319c38deac Merge branch 'alpine' of git://github.com/fabaff/ansible into devel
Conflicts:
	library/setup
12 years ago
Michael DeHaan 54a2b25c58 Updated copy documentation. 12 years ago
Patrick Pelletier e19878bc21 Add support to directly set content in copy module 12 years ago
Michael DeHaan 7bbbd091c2 Merge pull request #2294 from mmoya/bug-fixes
file module should check invalid arguments (fixes #2135)
12 years ago
Michael DeHaan 44b9bdff7c Update fetch documentation 12 years ago
Michael DeHaan e51ee83ec7 Make URI module default to 30 seconds. 12 years ago
Michael DeHaan 02b1b4ff6e Merge pull request #2279 from dorfsmay/fetch-fail_on_missing
Added a fail_on_missing option to fetch.
12 years ago
Michael DeHaan e5297678c5 Merge pull request #2273 from dorfsmay/pullreq-use_proxy
Added a use_proxy option to get_url.
12 years ago
Michael DeHaan f9a309ee83 Merge pull request #2286 from gavares/url_timeout
Add socket timeout to uri module.
12 years ago
Michael DeHaan fd24fe8b0b Merge pull request #2337 from dparalen/wait_fix
EC2 Wait fix
12 years ago
Michael DeHaan dc2906f2d7 Merge pull request #2274 from jcftang/setup-osx-facts
Start of more OSX facts for setup
12 years ago
Michael DeHaan 8e1ad723fd Merge pull request #2334 from pieska/upstream
allow use of backrefs in lineinfile
12 years ago
Michael DeHaan 49a2d86d03 Merge pull request #2283 from eest/openbsd_pkg
Add openbsd_pkg: package management for OpenBSD.
12 years ago
milan 79f9d9b2a2 fixed case and punctuation 12 years ago
milan b5a2882b5e fix documentation 12 years ago
milan ae3fb0adf5 waiting enhancements 12 years ago
milan 757f8c087e avoid the instance start--state-fetch race 12 years ago
Nikolay Panov d3531d0d79 Fixed 'service'. Now it respect 'enabled=no' as well. 12 years ago
Andreas Piesk 4f92772593 allow use of backrefs in lineinfile 12 years ago
Fabian Affolter 0f3284a7e3 Support for detecting Alpine Linux 12 years ago
Michael DeHaan bc2a04ed2e Merge pull request #2319 from sfromm/svn-check
Update subversion module to work better with check mode
12 years ago
Michael DeHaan f0c26ed66a Merge pull request #2323 from laixer/devel
Respect gem_source option if specified
12 years ago
Michael DeHaan 7a53f23d56 Merge pull request #2318 from sfromm/issue2317
Consider service stopped if rc is 1
12 years ago
Vadim Berezniker c1e24cb7a0 Respect gem_source option if specified 12 years ago