Richard C Isaacson
9c8bbe2904
column must always be less than len(probline)
...
Fixes related to GH-5773.
2014-02-26 16:28:34 -06:00
James Laska
b589bf1d2e
First pass at ec2 module tests
2014-02-26 16:43:30 -05:00
James Cammarata
14ba10393b
Minor tweak to region config in boto configuration file
2014-02-26 15:40:33 -06:00
James Cammarata
88acb48e61
Merge branch 'ec2_boto_config_region' of https://github.com/willthames/ansible into willthames-ec2_boto_config_region
2014-02-26 15:32:05 -06:00
James Cammarata
2a383786dd
And remove the expanduser calls from the action_plugin
2014-02-26 15:29:00 -06:00
James Cammarata
32a2636dc7
Add expanduser calls on src/dest in the module too
2014-02-26 15:19:45 -06:00
Richard Isaacson
21b2f3395a
Merge pull request #6197 from risaacson/issues_5116
...
When looking for double colon len(line) must be longer then 1.
2014-02-26 15:11:14 -06:00
James Cammarata
3274785350
Merge pull request #5689 from pgehres/devel
...
Adding the region to the output of the ec2 module's creation of a new in...
2014-02-26 14:45:12 -06:00
Pavel Antonov
21a7bace77
Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting
2014-02-27 00:27:39 +04:00
Richard C Isaacson
585766201d
When looking for double colon len(line) is longer then 1.
...
Addresses GH-5116.
It comes up that when parsing json that if you are missing the last double quote on the last variable and the next line is just '}' we will get an out of range error. In this instance we will also then make sure that the line is long enough to have two colons.
2014-02-26 14:25:56 -06:00
James Cammarata
bb5da4c5f6
Merge branch 'devel' of https://github.com/josephtate/ansible into josephtate-devel
...
Conflicts:
library/cloud/ec2
2014-02-26 13:57:07 -06:00
James Tanner
e3672dded0
Remove breakpoint
2014-02-26 14:53:36 -05:00
James Tanner
b74105c689
Add --vault-password-file to bin/ansible-pull
2014-02-26 14:52:57 -05:00
James Cammarata
d6b912c429
Modifying the wait logic for newly created images to avoid tracebacks
...
Fixes #4619
2014-02-26 13:33:31 -06:00
James Tanner
a37a6983be
Switch from skipIf to SkipTest for TestVaulLib
2014-02-26 14:01:31 -05:00
James Cammarata
b758ed9417
Merge pull request #6150 from hkariti/fix_join_bug
...
Fix incorrect use of .join on list causing a traceback
2014-02-26 12:50:07 -06:00
James Tanner
f5359c310f
Add negative tests for VaultLib
2014-02-26 13:38:58 -05:00
James Cammarata
96f1c3ce2e
Move where the expanduser call is made, to avoid issues with None
2014-02-26 12:33:17 -06:00
James Cammarata
e659d55d62
Merge branch 'devel' of https://github.com/muffl0n/ansible into muffl0n-devel
2014-02-26 12:28:26 -06:00
James Cammarata
5ff20c1ae7
Merge branch 'scottanderson42-ec2-params' into devel
2014-02-26 11:38:36 -06:00
James Tanner
baed7a0ed9
Fixes #6187 Add unit tests for VaultLib
2014-02-26 12:10:09 -05:00
Michael DeHaan
33857855ad
removing some unusued files. Paramiko alt was an experiment to attempt pipeline for paramiko, ssh_old is the non-pipelining-supported earlier
...
version of the OpenSSH transport, which is configurable now and unified.
2014-02-26 11:26:52 -05:00
James Tanner
35def422a3
Addresses #6188 Add --vault-password-file to bin/ansible and bin/ansible-playbook
2014-02-26 11:01:03 -05:00
James Cammarata
8a7c68dc18
Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
...
Conflicts:
lib/ansible/module_utils/ec2.py
library/cloud/ec2
2014-02-26 09:37:26 -06:00
James Cammarata
168e3cf685
Revert "Adding a Makefile target for integration tests - "make integration""
...
This reverts commit 6f1a58abd3
.
2014-02-26 09:30:16 -06:00
James Cammarata
6f1a58abd3
Adding a Makefile target for integration tests - "make integration"
2014-02-26 09:26:48 -06:00
James Tanner
7acd2f3a2d
Addresses #6188 Add --vault-password-file option to the ansible-vault command
2014-02-26 10:01:59 -05:00
James Tanner
1e33c96083
Update changelog for ec2_snapshot
2014-02-26 09:21:22 -05:00
Michael DeHaan
404765162d
Merge pull request #6184 from patrys/patch-1
...
Properly match existing security group
2014-02-26 08:10:27 -05:00
Michael DeHaan
c2307b93e7
Merge pull request #6183 from gkoller/devel
...
mysql_db: Emphasize target is on remote host. List supported file types.
2014-02-26 08:09:59 -05:00
Patryk Zawadzki
da1efee21f
Properly match existing security group
...
If we don't care about `vpc_id` then neither should the code.
2014-02-26 13:39:03 +01:00
Guido Kollerie
a000f37132
Emphasize target is on remote host. List supported file types.
...
From the documentation it is not immediately clear that the 'target'
option refers to a location on the remote host. This change emphasizes that.
In addition to .sql files, .bz2 and .gz files are supported for dumps and
restores. This is now documented.
2014-02-26 12:56:24 +01:00
jctanner
6fa898c511
Merge pull request #5092 from willthames/ec2_snapshot
...
Module to create EC2 snapshots
2014-02-26 06:10:17 -05:00
jctanner
1277b45b3c
Merge pull request #5941 from sivel/rax-name-search-opts
...
rax module: Use regex start and end of string with name base filters
2014-02-26 05:56:39 -05:00
Brian Coca
53d71a3949
added octal representation of mode and made md5 checksumming optional
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-25 21:33:14 -05:00
Dustin C. Hatch
467914e3c3
filesystem: Ignore blkid cache
...
Sometimes, `blkid` will incorrectly return no information about a block
device, even if it exists and has a valid filesystem. This causes the
*filesystem* module to fail if *force=no*. Instructing `blkid` to use
`/dev/null` as a cache file will force it to rescan the block device on
each run, making results more consistent.
Signed-off-by: Dustin C. Hatch <admiralnemo@gmail.com>
2014-02-25 20:16:01 -06:00
Joshua Conner
9c72b52c01
docker: add 'version_added' to the appropriate documentation entries
2014-02-25 17:04:01 -08:00
Michael DeHaan
6ed48b5ad7
Merge pull request #6172 from cchurch/devel
...
Fix setup module to gather facts from PowerPC Macs.
2014-02-25 19:54:23 -05:00
Chris Church
1d6bdd451b
Fix setup module to gather facts from PowerPC Macs.
2014-02-25 18:27:36 -05:00
Joshua Conner
66eb91c2f8
docker: update to docker-py 0.3.0, plus full port binding support, container names, links
2014-02-25 15:24:46 -08:00
Richard Isaacson
ca78657538
Merge pull request #6166 from risaacson/rename_flatten_in_dict
...
Rename flatten function.
2014-02-25 15:00:36 -06:00
Richard C Isaacson
af616fe15e
Rename flatten funciton.
...
flatten(x) is used a lot in the various lookup plugins where in each it is slightly different. This is to make this name slightly more unique.
2014-02-25 14:59:06 -06:00
James Tanner
0cca4a3919
Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used
2014-02-25 14:53:48 -05:00
Richard Isaacson
86d8c58bd2
Merge pull request #6165 from risaacson/fix_fetch_integration
...
Fix fails on ubuntu due to missing /etc/motd
Tests functional on centos6, ubuntu1204 and ubuntu1310 now.
2014-02-25 13:45:10 -06:00
Richard C Isaacson
2bce819519
Fix fails on ubuntu due to missing /etc/motd
...
Some systems that we are testing on may not have /etc/motd. So we need to create a file that we can control and use that for the further tests.
2014-02-25 13:42:33 -06:00
James Cammarata
03cb2f5ffa
Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags
2014-02-25 13:05:29 -06:00
James Cammarata
cb79947054
Fixing the unicode issue in uri for EL6 platforms
...
Fixes #5869
2014-02-25 13:04:05 -06:00
Richard Isaacson
5dfe16ee5a
Merge pull request #5964 from sl4mmy/with-dict
...
lookup_plugins: loop over hashes
Tests good with the global variables:
```
users:
alice:
name: Alice
id: 12345
luna:
name: Luna
id: 23456
```
and playbook tasks:
```
- name: Print records.
debug: msg="User {{ item.key }} is {{ item.value.name }} {{ item.value.id }}"
with_dict: users
```
2014-02-25 12:58:08 -06:00
Kent R. Spillner
1fcc9ff666
lookup_plugins: loop over hashes
...
Create a lookup plugin named dict that can be used to loop over hashes.
It converts a dict into a list of key-value pairs, with attributes named
"key" and "value." Also adds a brief explanation and simple example to
the docs.
Signed-off-by: Kent R. Spillner <kspillner@acm.org>
2014-02-25 11:20:15 -06:00
James Tanner
876035c0b1
Fixes #6161 Get the delegate host info properly from the hostvars object
2014-02-25 11:18:06 -05:00