Commit Graph

5881 Commits (fa9635478be1972cd80777b5441fdb7bf5a2acde)

Author SHA1 Message Date
John Jarvis c85b0bb05f using instance_ids and state=absent for removing instances 2013-06-21 13:43:29 -04:00
Vincent Viallet 7b0b9016b5 Improve error messages on missing required variables. 2013-06-21 21:41:00 +08:00
Mark Mandel 73dda68e18 Don't turn on sudo for all tasks when setting the sudo_user or ask_sudo_pass, 2013-06-21 23:20:12 +10:00
Vincent Viallet c124411c36 Consistent wait_timeout between doc and module 2013-06-21 18:03:55 +09:00
Vincent Viallet 2eaf5ee206 Fix last bugs, complete all tests. 2013-06-21 17:01:29 +08:00
Vincent Viallet 17a55d6adf Update documentation 2013-06-21 13:59:09 +08:00
Vincent Viallet 9c26b9ddce Add linode cloud provider. 2013-06-21 13:41:33 +08:00
Ninety Thirty 7b1e87b62d Added flexible filename handling for main files
tasks, handlers, and vars main files can now be any of main, main.yml, or main.yaml
2013-06-20 22:03:17 -06:00
John Jarvis 3a5f095693 Adds termination support to the ec2 module
Pass in the `instances` output of the ec2 module
to terminate a list of instances that were previously provisioned.

Useful for automated testing.
2013-06-20 20:00:52 -04:00
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.
2013-06-20 14:48:39 -07:00
Michael DeHaan c7c5ac1ab6 Merge pull request #3288 from espro/devel
Update ansible.cfg
2013-06-20 14:08:45 -07:00
espro 3eeacaba81 Updated ansible.cfg to be more consistent
Updated the example ansible.cfg to be more consistent in spacing/commented lines
2013-06-20 17:19:47 -03:00
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
2013-06-20 16:14:15 -04:00
espro e2cf3b2d29 Update ansible.cfg
Previous commit made config invalid.
2013-06-20 15:47:45 -04:00
James Laska eb2ae8b3c2 Reference major_release, not major_version 2013-06-20 08:23:49 -04:00
Mike Grozak bba19cb998 Fixed typo 2013-06-20 12:46:23 +02:00
Mike Grozak 541b086883 Updated documentaion for the file module 2013-06-20 12:46:23 +02:00
Mike Grozak 6c44e264c9 added possibility to force symlinks to none-existent destination (which might appear later) 2013-06-20 12:43:23 +02:00
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' 2013-06-20 12:43:23 +02:00
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>
2013-06-20 08:18:37 +02:00
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>
2013-06-20 08:18:37 +02:00
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>
2013-06-20 08:18:11 +02:00
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>
2013-06-20 08:18:11 +02:00
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>
2013-06-20 07:55:35 +02:00
Michael DeHaan 995ef374db Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan 85ef79443a Fix a documentation formatting warning. 2013-06-19 22:38:04 -04:00
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00
Michael DeHaan 231d9b101d YAML fix 2013-06-19 22:33:19 -04:00
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
2013-06-19 19:31:34 -07:00
Michael DeHaan 727cee509c Merge branch 'PR_add_chdir_to_pip' of git://github.com/y-p/ansible into devel
Conflicts:
	library/packaging/pip
2013-06-19 22:30:44 -04:00
Michael DeHaan 4c51a6141b Merge remote branch 'origin/devel' into devel 2013-06-19 22:29:12 -04:00
Michael DeHaan 010440dc47 Merge pull request #3114 from laggyluke/roles_combine_vars
Added basic support for hash_behaviour=merge in roles
2013-06-19 19:27:27 -07:00
Michael DeHaan 200bd75426 Merge pull request #3149 from blandonnimrat/devel
added error checking on connect_to_region() in ec2.py
2013-06-19 19:26:17 -07:00
Michael DeHaan 49eb772667 Update changelog 2013-06-19 22:25:48 -04:00
Michael DeHaan 4c43264033 Various code reformatting 2013-06-19 22:23:31 -04:00
Michael DeHaan db94171f5b Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 2013-06-19 22:11:41 -04:00
Michael DeHaan 2ed9b52481 Quote some strings in the docs 2013-06-19 22:10:48 -04:00
Michael DeHaan 3570c191c0 Update changelog 2013-06-19 22:10:01 -04:00
Michael DeHaan dbbb2bc269 Merge remote branch 'origin/devel' into devel 2013-06-19 22:09:22 -04:00
Michael DeHaan e1abda42a9 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
2013-06-19 19:06:29 -07:00
Michael DeHaan 3060e66e77 Update CHANGELOG 2013-06-19 22:03:49 -04:00
Michael DeHaan 7b7cd855c4 Merge pull request #3091 from sdossett/with_inventory_hostnames
with_inventory_hostnames inventory based lookup plugin
2013-06-19 19:02:55 -07:00
Michael DeHaan fc45470162 Merge branch 'with_inventory_hostnames' of git://github.com/sdossett/ansible into inv_hostnames 2013-06-19 22:01:57 -04:00
Michael DeHaan c80ad67d7e Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
2013-06-19 18:59:19 -07:00
Michael DeHaan b1596073c5 update changelog 2013-06-19 21:58:38 -04:00
Michael DeHaan 2e680019c9 Merge remote branch 'origin/devel' into devel 2013-06-19 21:56:59 -04:00
Michael DeHaan faaa90ed03 Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
2013-06-19 21:53:33 -04:00
Michael DeHaan c9c45ac597 Reformat examples 2013-06-19 21:52:59 -04:00
Vincent Viallet cc1cb01540 Rename digital ocean module to digital_ocean, add documentation. 2013-06-19 21:49:05 -04:00
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. 2013-06-19 21:48:52 -04:00