Commit Graph

5922 Commits (0fe680d43f1f7337026f7bc4637ba00c741901af)
 

Author SHA1 Message Date
Stephen Fromm 76d848331f Add submodule support to git module
This does two things:
* add --recursive option to git clone command in clone().  This will
  initialize all submodules when cloning a remote repository.
* Add submodule_update() and call that from fetch().  submodule_update()
  calls two git commands iff the file .gitmodules exists in the
  repository:
  * 'git submodule sync' - synchronizes the submodules' remote URL
    configuration setting to the value in .gitmodules.
  * 'git submodule update --init --recursive' - initialize and update
    registered submodules to the commit specified in the index of the
    containing repository.

If a repository was cloned without --recursive, submodule_update() will
ensure that the submodules are initialized and updated.
12 years ago
Michael DeHaan c7c5ac1ab6 Merge pull request #3288 from espro/devel
Update ansible.cfg
12 years ago
espro 3eeacaba81 Updated ansible.cfg to be more consistent
Updated the example ansible.cfg to be more consistent in spacing/commented lines
12 years ago
espro a00c7b0c08 Comment remote_user in ansible.cfg
remote_user should not be set in example config. This file is used in rpm .spec for /etc/ansible/ansible.cfg
12 years ago
espro e2cf3b2d29 Update ansible.cfg
Previous commit made config invalid.
12 years ago
James Laska eb2ae8b3c2 Reference major_release, not major_version 12 years ago
Mike Grozak bba19cb998 Fixed typo 12 years ago
Mike Grozak 541b086883 Updated documentaion for the file module 12 years ago
Mike Grozak 6c44e264c9 added possibility to force symlinks to none-existent destination (which might appear later) 12 years ago
Mike Grozak 57154b04bb added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 12 years ago
martin f. krafft bbbc214ffb Remove bashisms, replace with POSIX constructs
This replaces double conditional brackets with single ones and gets ris
of bashisms, so that the tool should be sourcable from any POSIX shell.

Constructs like [ $foo = "$bar"* ] yield filesystem-globbing behaviour
according to POSIX. A compliant way is to use case statements.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 9f4988dbfd Quote variables in shell script
In case paths contain spaces, it's better to consistently quote
variables, and to use $() instead of `` for external invocations.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 4b9f8fc294 Replace external command with shell construct
dirname/basename do not need an external process, shell variable
expansion can be made to do the same a bit faster.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 013cd38929 Remove shebang line
The env-setup script is not intended to be run directly, so it does not
need a shebang line, which might even create the wrong expectations.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft fd02443d42 Enable negated patterns
A host pattern of the form '!foo' by itself does not work, but
'all:!foo' does. If the first pattern is a negation, this commit
automatically prepends 'all'.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Michael DeHaan 995ef374db Fixup versions of newly added modules. 12 years ago
Michael DeHaan 85ef79443a Fix a documentation formatting warning. 12 years ago
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors. 12 years ago
Michael DeHaan 231d9b101d YAML fix 12 years ago
Michael DeHaan b72109a04b Merge pull request #3273 from jlund/ansiblecc-to-ansibleworkscom
Update all ansible.cc references in the documentation to point to ansibleworks.com
12 years ago
Michael DeHaan 727cee509c Merge branch 'PR_add_chdir_to_pip' of git://github.com/y-p/ansible into devel
Conflicts:
	library/packaging/pip
12 years ago
Michael DeHaan 4c51a6141b Merge remote branch 'origin/devel' into devel 12 years ago
Michael DeHaan 010440dc47 Merge pull request #3114 from laggyluke/roles_combine_vars
Added basic support for hash_behaviour=merge in roles
12 years ago
Michael DeHaan 200bd75426 Merge pull request #3149 from blandonnimrat/devel
added error checking on connect_to_region() in ec2.py
12 years ago
Michael DeHaan 49eb772667 Update changelog 12 years ago
Michael DeHaan 4c43264033 Various code reformatting 12 years ago
Michael DeHaan db94171f5b Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 12 years ago
Michael DeHaan 2ed9b52481 Quote some strings in the docs 12 years ago
Michael DeHaan 3570c191c0 Update changelog 12 years ago
Michael DeHaan dbbb2bc269 Merge remote branch 'origin/devel' into devel 12 years ago
Michael DeHaan e1abda42a9 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
12 years ago
Michael DeHaan 3060e66e77 Update CHANGELOG 12 years ago
Michael DeHaan 7b7cd855c4 Merge pull request #3091 from sdossett/with_inventory_hostnames
with_inventory_hostnames inventory based lookup plugin
12 years ago
Michael DeHaan fc45470162 Merge branch 'with_inventory_hostnames' of git://github.com/sdossett/ansible into inv_hostnames 12 years ago
Michael DeHaan c80ad67d7e Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
12 years ago
Michael DeHaan b1596073c5 update changelog 12 years ago
Michael DeHaan 2e680019c9 Merge remote branch 'origin/devel' into devel 12 years ago
Michael DeHaan faaa90ed03 Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
12 years ago
Michael DeHaan c9c45ac597 Reformat examples 12 years ago
Vincent Viallet cc1cb01540 Rename digital ocean module to digital_ocean, add documentation. 12 years ago
Vincent Viallet 66b5689afb Ensure an existing ssh-key returns useful information (id + name) instead of a string; this way it can be used to register a variable to use in a later task. 12 years ago
Vincent Viallet 60d1ff125e Add digital-ocean cloud support. 12 years ago
Michael DeHaan f9a09e10e5 Merge branch 'digitalocean' of git://github.com/devo-ps/ansible into ocean 12 years ago
Michael DeHaan 5ac1e7d0ca Merge pull request #3209 from madduck/generalise-hacking-dir-path-discovery
Generalise hacking dir path discovery
12 years ago
Michael DeHaan 4553b3d0cf Merge branch 'generalise-hacking-dir-path-discovery' of git://github.com/madduck/ansible into envsetup2 12 years ago
Michael DeHaan 0ce7996bb6 Merge pull request #3266 from trbs/20130619_first_found
enable use of multiple terms in first_found
12 years ago
Michael DeHaan ffb94f2e71 Merge branch 'purge' into devel 12 years ago
martin f. krafft 6a7dac6176 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Michael DeHaan 50fa88f28a Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 12 years ago
Joshua Lund 0f81d1630f * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
12 years ago