Commit graph

13480 commits

Author SHA1 Message Date
Brian Coca
6dca95b309 now add_host loads hostvars 2015-03-20 10:34:51 -04:00
Toshio Kuratomi
fd47c4d687 Pull ec2_asg fixes by updating core modules 2015-03-19 22:47:14 -07:00
Toshio Kuratomi
0551f36d6b Have selinux allow docker<=>nginx communication 2015-03-19 13:53:35 -07:00
Toshio Kuratomi
cfda56908a Okay, let's see if these pauses are enough to get this passing 2015-03-19 13:53:26 -07:00
Toshio Kuratomi
4009c053f7 Fix the removal of busybox image 2015-03-19 13:53:10 -07:00
Toshio Kuratomi
c571a0e6ea Some debugging for why docker tests are failing in jenkins 2015-03-19 13:53:02 -07:00
Toshio Kuratomi
9082905a62 Add more tests for private docker registries 2015-03-19 13:52:54 -07:00
Toshio Kuratomi
f4878a2bec Remove debug statements 2015-03-19 13:52:41 -07:00
Toshio Kuratomi
67a559ed2b Add tests using a docker private registry 2015-03-19 13:52:33 -07:00
Toshio Kuratomi
cfc90dff4b And ran into a different problem with centos6. Sigh. 2015-03-19 13:52:19 -07:00
Toshio Kuratomi
e02fbcdb0f Attempt to enable docker tests for rhel/centos6 as well 2015-03-19 13:52:09 -07:00
Toshio Kuratomi
2fbfe5cdb2 Would help if I added these files in the right directory 2015-03-19 13:52:01 -07:00
Toshio Kuratomi
dc6a1f42af Ugh, looks like very few distros have the proper packages to run the docker module.
break up the tests so that we can maybe  run this on at least one
platform
2015-03-19 13:51:43 -07:00
Toshio Kuratomi
af90817622 Initial test of the docker module 2015-03-19 13:51:29 -07:00
Toshio Kuratomi
6a803f6582 Pull another fix in from core modules 2015-03-19 12:49:42 -07:00
Brian Coca
2459eb6dbc updated module ref for core 2015-03-19 15:20:28 -04:00
Brian Coca
b34b50d8d1 updated core to latests stable 1.9 2015-03-19 14:47:47 -04:00
Brian Coca
da62887233 ignore PE methods that are not sudo for checksums until we get them working universally 2015-03-19 14:46:40 -04:00
Brian Coca
824fc036e7 removed bare variable detection as this confuses people and forced us to allow for bare expressions 2015-03-19 09:28:04 -04:00
Toshio Kuratomi
7d2915442e Update the extras module pointer 2015-03-18 20:25:06 -07:00
Toshio Kuratomi
ebc8193c48 Update core module pointer 2015-03-18 19:55:55 -07:00
Toshio Kuratomi
dbe0c4f771 Update docker module 2015-03-18 18:29:18 -07:00
Brian Coca
a4f2407328 added missing become method inventory override 2015-03-17 19:20:21 -04:00
Toshio Kuratomi
e819263820 Update core modules pointer 2015-03-17 11:02:53 -07:00
Brian Coca
2a229bdb6c fixed issue with su in plays 2015-03-16 19:39:16 -04:00
Brian Coca
7fba952a9e slight changes to allow for checksum and other commands to work correctly with quoting 2015-03-16 19:10:10 -04:00
Steve Gargan
103dc01817 log errors and explicitly exit rather than raising exceptions 2015-03-16 15:12:40 -07:00
Steve Gargan
5488bc395e fix for issue #10422. outputs informative error message when AWS credentials are not available 2015-03-16 15:12:32 -07:00
James Laska
0898920eb0 Enable assert_raises_regexp on py26 2015-03-16 12:43:05 -07:00
James Laska
fd4f541ded Add tox and travis-ci support
Add tox integration to run unittests in supported python releases.
Travis-CI is used for test execution.

Additionally, the unittest TestQuotePgIdentifier was updated to support
using assert_raises_regexp on python-2.6.

Sample travis-ci output available at
https://travis-ci.org/ansible/ansible/builds/54189977
2015-03-16 12:16:02 -07:00
Toshio Kuratomi
dc434dd74e Update core pointer to make use of DOCKER_TLS_VERIFY env var:
https://github.com/ansible/ansible-modules-core/issues/946
2015-03-16 11:45:27 -07:00
Toshio Kuratomi
29407752c5 Update core modules pointer 2015-03-16 11:35:51 -07:00
Brian Coca
2823c8c987 fixed raw return check for privilege escalation 2015-03-16 14:00:50 -04:00
Toshio Kuratomi
28892cca14 Update core module pointer 2015-03-13 13:54:08 -07:00
Hartmut Goebel
41c892baf4 Fix detect of docker as virtualization_type.
Not only match`/docker/`, but also `docker-` followed by a hex-id.

Example (shortened):
```
$ cat /proc/1/cgroup
8:blkio:/system.slice/docker-de73f4d207861cf8757b69213ee67bb234b897a18bea7385964b6ed2d515da94.scope
7:net_cls:/
```
2015-03-13 11:43:25 -07:00
jhermann
7ba49ed430 added test requirements for pip 2015-03-12 14:00:39 -07:00
Toshio Kuratomi
1cf533f8df Comma is also dependent on position within the hash 2015-03-12 13:21:46 -07:00
Brian Coca
7768ab2b5c fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo' 2015-03-12 14:48:21 -04:00
Toshio Kuratomi
6aaf77ac76 Hash randomization makes one of the heuristic_log_sanitize checks not work.
Nothing we can do, when it sanitizes ssh_urls it's simply overzealous.
2015-03-12 11:40:19 -07:00
James Cammarata
8d847efa37 Fix issue with unarchive disabling pipelining mode
Was using persist_files=True when specifying the create paramater,
which breaks pipelining. Switched to use delete_remote_tmp=False instead,
which is the proper way to preserve the remove tmp dir when running
other modules from the action plugin.
2015-03-12 10:24:38 -05:00
Toshio Kuratomi
0e2a21f1fa Update core pointer to pick up docker fix 2015-03-12 08:21:39 -07:00
Brian Coca
5f7cc8f0c1 changed from hash_merge to combine vars which resets default to
overwrite and not merge hashing
corrected merge vs combined in all pertinent sections
fixed typoe in combined_Vars
removed redundant inventory call, moved grousp to proper priority
readded inventory vars to runner's vars
correclty added inventory this time
2015-03-12 11:03:35 -04:00
Brian Coca
4db4fcd5a6 fixed missed conversion of su to become 2015-03-12 10:02:03 -04:00
Toshio Kuratomi
4941755851 Test case for #10426 2015-03-11 20:59:02 -07:00
Shirou WAKAYAMA
1c09660c44 set 'nonstring' arg to passthru. 2015-03-11 20:42:40 -07:00
Shirou WAKAYAMA
a388cd69c0 use to_unicode() in _jinja2_vars if type is str. 2015-03-11 20:42:31 -07:00
Jürgen Hermann
c33d2fa283 Generic package_dir mapping in setup.py (closes #10437) 2015-03-11 19:17:02 -07:00
Toshio Kuratomi
8f05824dda Update for another 3c2 fix 2015-03-11 19:09:07 -07:00
Toshio Kuratomi
7ea7279080 Update core modules to pull in fixes 2015-03-11 18:43:02 -07:00
Brian Coca
c997228896 fixed missed su to become conversion 2015-03-11 19:24:03 -04:00