Commit graph

6205 commits

Author SHA1 Message Date
Michael DeHaan
bb122c3410 Merge pull request #3747 from lorin/ec2-check
ec2: check for changes
2013-08-03 10:30:24 -07:00
Michael DeHaan
b31cef48e9 Merge pull request #3744 from jimi1283/issue_3360
Allow destination paths in the hg module to include a tilde (~)
2013-08-03 10:29:03 -07:00
James Cammarata
82c806979b Only use LOG_LOCK in log_flock if a runner is not specified
Fixes issue #3466 - When ansible can't authenticate against a host,
and your answer is no, ansible crash.
2013-08-03 13:28:19 -04:00
Michael DeHaan
f7723651d3 Merge pull request #3740 from jimi1283/issue_3716
Adding support for hashed known_hosts entries
2013-08-03 10:24:03 -07:00
James Cammarata
e32a6110af Removing skipped=True so the task is just marked as not-changed 2013-08-03 12:15:09 -05:00
Michael DeHaan
3fba6e9cff Merge branch 'git_undefined_branch_variable' of git://github.com/psvo/ansible into devel 2013-08-03 13:12:48 -04:00
Lorin Hochstein
631dc8b7b1 Add description to id parameter of ec2 module
Add some details in the docs about how the id parameter of the ec2
module behaves.
2013-08-02 23:01:17 -04:00
Lorin Hochstein
3647d112f8 ec2: Removed unused line
Remove the reference to the unused "termination_list" parameter
in the ec2 module. The instance_ids parameter is the one that contains
the list of instance ids to be terminated.
2013-08-02 22:35:24 -04:00
Lorin Hochstein
0c1f6b4f51 ec2: check for changes
In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746
2013-08-02 22:23:41 -04:00
James Cammarata
d98ad7b374 Set result to skipped when vol group is missing and lv state=absent
Fixes issue #3714 - lvol module state=absent fails (with error) if
the volume group doesn't exist
2013-08-02 20:32:56 -05:00
James Cammarata
7d521ee22c Allow destination paths in the hg module to include a tilde (~)
Fixes issue #3360 - Inconsistent behavior of the hg module w.r.t. dest path
2013-08-02 18:03:20 -05:00
Ben Podoll
1410df43de adding param to allow for specifying custom iops setting when creating an EBS volume 2013-08-02 11:31:31 -05:00
James Cammarata
ba38d6bc16 Adding support for hashed known_hosts entries
Fixes Issue #3716 - SSH known host checking needs to understand
hashed known hosts
2013-08-02 11:08:02 -05:00
Petr Svoboda
d9576b3529 Tidy up fix of git module traceback 2013-08-02 12:54:06 +02:00
Michael DeHaan
d485abe2e7 Merge pull request #3732 from rishid/devel
User: when creating new user, ignore empty groups value
2013-08-01 18:55:23 -07:00
Michael DeHaan
cb028b94a4 Merge pull request #3731 from bcoca/jinja_override_typed
now correctly 'types' value pairs that are passed to jinja overrides
2013-08-01 18:54:22 -07:00
rishid
07ef8c4d84 Verify groups string is not empty before trying add user to groups 2013-08-01 21:19:11 -04:00
Brian Coca
581a0c9f59 now correctly 'types' value pairs that are passed as options to jinja
override
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-08-01 21:08:23 -04:00
Michael DeHaan
0335d05f43 Check against None around playbook basedir 2013-08-01 20:44:19 -04:00
Michael DeHaan
16d25f4115 Merge pull request #3651 from nicholaskuechler/rax-update-files-docs
Update docs and example for injecting files.
2013-08-01 17:32:15 -07:00
Michael DeHaan
74e6bc284e Merge pull request #3660 from tedyoung/patch-1
Wrong target for link?
2013-08-01 17:29:49 -07:00
Michael DeHaan
82d6323845 Update docs on action shorthand. 2013-08-01 20:28:37 -04:00
Michael DeHaan
20f7e2ef71 Merge pull request #3691 from stoned/mysql_user-doc-fix
module mysql_user: fix 'state' parameter description
2013-08-01 17:25:21 -07:00
Michael DeHaan
be7e29b2c2 Merge pull request #3728 from bpennypacker/ec2_elb_updates
Added optional region parameter.  Fail if you specify an ELB that doesn'...
2013-08-01 17:20:45 -07:00
Michael DeHaan
7f77b6c72e Merge pull request #3722 from bcoca/lvg_gets_bin_path
now uses get_bin_path for lvg executables
2013-08-01 17:17:21 -07:00
Michael DeHaan
bdef7f1774 Merge pull request #3711 from ashorin/devel
Allow --diff on UTF-8 encoded files and templates
2013-08-01 17:16:32 -07:00
Michael DeHaan
44d060628e Merge pull request #3706 from lorin/sudo_user_breakage
Fix sudo_user copy error
2013-08-01 17:15:26 -07:00
Michael DeHaan
daf5ecc7c9 Merge pull request #3684 from stoned/fix-3668
Add extra module path early during playbook parsing.
2013-08-01 17:14:35 -07:00
Michael DeHaan
83481b32cc Merge pull request #3657 from zqad/devel
Fix playbook-local host_vars when running from .
2013-08-01 17:13:04 -07:00
Michael DeHaan
4db413db6a Merge pull request #3655 from disko/pkgin_search_fix
Fix pkgin search
2013-08-01 17:12:16 -07:00
Michael DeHaan
3ebbb56479 Merge pull request #3654 from MaxIV-KitsControls/devel
Fix nested loop for more than 3 elements
2013-08-01 17:11:26 -07:00
Michael DeHaan
422233bc91 Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
2013-08-01 17:09:44 -07:00
Michael DeHaan
7813290969 Merge pull request #3645 from stoned/stringify-conditional-2
stringify conditional before handing it to Jinja2 for evaluation.
2013-08-01 17:08:34 -07:00
Michael DeHaan
b2d2c40538 Merge pull request #3638 from shirou/devel
fix: if a path is symlink and trying to chmod, OSError Exception will be raised
2013-08-01 17:07:22 -07:00
Michael DeHaan
3584aecc2b Merge pull request #3676 from bcoca/debug_doc_update
updated debug module docs to remove outdated -v requirement
2013-08-01 17:05:23 -07:00
Michael DeHaan
d5d81813a6 Merge pull request #3634 from stintel/mysql-revoke-grant-option
Only revoke GRANT OPTION when user actually has it
2013-08-01 17:04:54 -07:00
Bruce Pennypacker
8171b7ba48 Added optional region parameter. Fail if you specify an ELB that doesn't exist.
Boto blindly assumes the us-east-1 region if you don't hardcode a
region in it's config, so you could end up attempting to modify ELB's
in one region from a totally different region.  If a region isn't
specified then default to the region that the module is being run
within rather than the default us-east-1 region since it's a pretty
safe assumption that you intend to work on the ELB's within your
current region.

Also throw an error if a specified ELB instance doesn't exist.  The old
behavior would be to silently succeed with changed=false, so if you had
so much as a typo in the name of your ELB (or were in the wrong region
like my initial testing) you wouldn't get a clear indication that a
problem had occurred.
2013-08-01 16:50:01 -04:00
Petr Svoboda
2d5b942ffe Fix traceback in git module when version checkout fails
"UnboundLocalError: local variable 'branch' referenced before assignment" is
raised in git, line 282, in switch_version.

Exception is raised when version is not branch and version checkout fails.
E.g. when version is nonexistant commit.
2013-08-01 12:10:43 +02:00
Brian Coca
0ae7bcf3e2 fixed bug from prev update
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-08-01 00:24:34 -04:00
Brian Coca
1e1f117886 whitespace updates on new lines
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-31 23:26:28 -04:00
Brian Coca
d8e8aa714e now uses get_bin_path for lvg executables
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-31 22:32:41 -04:00
Hector Acosta
c62210ce37 Add rpm_key module
This module can be used to import public keys into your rpm database.

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
2013-07-31 15:55:38 -05:00
Andrey Shorin
664215eb02 Allow --diff on UTF-8 encoded files and templates 2013-07-31 15:58:32 +04:00
lwade
f6cb9bce15 Added ability to create virtual directories. 2013-07-31 11:51:57 +01:00
Nicholas Kuechler
fcb2295847 Change equals to colon 2013-07-30 20:08:22 -05:00
Nicholas Kuechler
2167be8fe9 Fixed a problem on my side. Was doing weird things. 2013-07-30 20:07:20 -05:00
Nicholas Kuechler
cac79faf35 Remove tailing bracket 2013-07-30 18:01:34 -05:00
Lorin Hochstein
a303fca193 Fix sudo_user copy regression
Treat errno 13 (permission denied) as one of the special cases in
atomic_move.

This type of error can occur because of sudo'ing to non-root user.

Fixes #3705
2013-07-30 16:14:29 -04:00
Timothy Appnel
11beb38c66 Added support of an optional setup method for action modules like rsync that need to alter the connection and other inject data before it's established. 2013-07-29 19:10:43 -04:00
Stoned Elipot
3d97c11509 module mysql_user: fix 'state' parameter description 2013-07-29 23:50:17 +02:00