Brian Coca
a2c1daf00e
Merge pull request #548 from mavit/solaris-user-groups
...
Fix appending to a user's group on Solaris, someone thought it was a list but it is really a set.
2014-12-23 13:52:32 -05:00
Brian Coca
62a53b1209
Merge pull request #541 from bcoca/cloudformation_china
...
update to use connect_to_region to avoid errors with china
2014-12-23 13:40:49 -05:00
Toshio Kuratomi
8f6ae92cf8
git fetch --tags overwrites normal fetching with git < 1.8.x so do a normal fetch followed by using the refspec format for fetching tags
2014-12-22 15:08:25 -08:00
Toshio Kuratomi
8a03af6608
Fix typo in git refspec code. Change lists to tuples
2014-12-22 12:11:49 -08:00
Toshio Kuratomi
2cbe13a21d
Merge pull request #371 from rohanpm/git_refspec
...
git: add 'refspec' argument
2014-12-22 11:31:12 -08:00
Brian Coca
0ab5682b87
Merge pull request #260 from willthames/aws_frankfurt
...
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
2014-12-22 08:47:27 -05:00
Peter Oliver
18c429d016
Fix appending to a user's group on Solaris
...
Without this change, you get:
AttributeError: 'set' object has no attribute 'extend'
Tested on a Solaris 11.2 client with the included Python 2.6.8.
2014-12-21 20:05:17 +00:00
Toshio Kuratomi
ee324fc3ad
Make documentation clear about update=no vs clone=no
2014-12-19 08:55:41 -08:00
Chris Church
0a297e54ba
Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8.
2014-12-19 03:07:47 -05:00
Rohan McGovern
cf85047284
git: add 'refspec' argument
...
This argument may be used to fetch additional refs beyond the default
refs/heads/* and refs/tags/*. Checking out GitHub pull requests or Gerrit
patch sets are two examples where this is useful.
Without this, specifying version=<sha1> with a SHA1 unreachable from any
tag or branch can't work.
2014-12-19 13:13:08 +10:00
Rohan McGovern
c242de1a39
git: clean up "fetch" method
...
De-duplicate repetitive code checking the exit code.
Include the stdout/stderr of the failed process in all cases.
Remove the returned values because no caller uses them.
Combine git commands where possible. There is no need to fetch branches
and tags as two separate operations.
2014-12-19 13:13:08 +10:00
Toshio Kuratomi
c4f9366e91
Newstyle class
2014-12-18 13:43:55 -08:00
Toshio Kuratomi
f65d9ab793
Make insecure_registry feature version check against the client API
2014-12-18 12:45:13 -08:00
Maksim Losev
4172d445d3
Add insecure_registry to docker-py pull method
...
Starting from docker-py>=0.5.0 it is impossible to work with private registries based on HTTP.
So we need additional parameter to allow pull from insecure registry
Related to ansible/ansible#9111
2014-12-18 12:36:17 -08:00
Toshio Kuratomi
fa0fa9d221
Make docker ver checks issue failures rather than silently ignoring
...
Also:
* make client version checks robust for two digit version pieces and
alpha versions
* consolidate version checking code
2014-12-18 11:23:44 -08:00
Toshio Kuratomi
5de8f11730
Merge pull request #199 from gottwald/docker-restart-policy
...
Add support for new docker restart policies
2014-12-18 08:05:44 -08:00
Ingo Gottwald
80d45c78a3
Add support for new docker restart policies
2014-12-18 10:27:53 +01:00
Brian Coca
d564569910
update to use connect_to_region to avoid errors with china
2014-12-17 19:55:54 -05:00
Brian Coca
8e5a849c66
Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
...
Ability to specify new SSD EBS option
2014-12-17 19:08:41 -05:00
Brian Coca
3ee8e2840f
Merge pull request #6 from willthames/ec2_snapshot_remove
...
Added the ability to remove snapshots
2014-12-17 17:28:47 -05:00
Brian Coca
978204aaa2
Merge pull request #496 from haraldsk/devel
...
add support for stack policies in cloudformation
2014-12-17 16:46:56 -05:00
Toshio Kuratomi
dfe7f6c6d6
Probably would make clone a 1.9 feature rather than 1.8.3
2014-12-17 13:45:49 -08:00
Toshio Kuratomi
b650ad1671
Make git's update parameter revert to its old behaviour and add new clone parameter to take its place.
...
Fixes #426
Fixes https://github.com/ansible/ansible/issues/8630
2014-12-17 13:45:49 -08:00
Brian Coca
e39260d14c
Merge pull request #531 from kalefranz/Issue529
...
fixes #529 ec2_group module bug
2014-12-17 16:44:06 -05:00
Brian Coca
a942e5f853
Revert "Merge pull request #384 from jhawkesworth/win_copy_file_template_ansible_modules_core_1"
...
I missed some discussion in devel, these need more work before inclusion
This reverts commit 58bfebb047
, reversing
changes made to 27dee77ca0
.
2014-12-17 12:48:01 -05:00
Kale Franz
73172fae47
#531 correction
...
correct list comprehension for older versions of python (back to python 2.4)
2014-12-17 09:01:50 -08:00
Kale Franz
e174c9b474
fixes #529 ec2_group module bug
2014-12-17 03:34:47 -08:00
Toshio Kuratomi
443951ce82
Merge pull request #524 from zitterbacke/patch-1
...
re-enable AIX password setting
2014-12-16 23:38:38 -08:00
Toshio Kuratomi
c853bb5a0f
Merge pull request #518 from likwid/devel
...
Fixed formatting in cloudformation example
2014-12-16 23:18:01 -08:00
Toshio Kuratomi
c5f7fc93b2
Merge pull request #514 from jbradberry/issue9546
...
Fix breakage in lineinfile check mode when target file does not exist.
2014-12-16 23:13:34 -08:00
Toshio Kuratomi
67aeab9576
Merge pull request #512 from mscherer/fix_438
...
Revert commit cbc417c
, as the code is broken, see #438
2014-12-16 22:46:20 -08:00
Toshio Kuratomi
b1605ae6b5
Merge pull request #505 from sysadmin75/9518
...
Fixes #9518 - "file state=directory" silently skips if it's currently a ...
2014-12-16 14:00:09 -08:00
Toshio Kuratomi
9c6826e928
Add text/json as a mimetype to try deserializing
...
Fixes #503
2014-12-16 13:55:08 -08:00
Toshio Kuratomi
07989f1f49
Merge pull request #526 from Jmainguy/centos5_hostname
...
Fixed hostname for rhel5 python 2.4.3
2014-12-16 13:35:51 -08:00
Toshio Kuratomi
51ed13b887
Fix documentation build
2014-12-16 11:50:41 -08:00
Jonathan Mainguy
541070be4c
Fixed hostname for rhel5 python 2.4.3
2014-12-16 09:49:13 -05:00
zitterbacke
2e88582165
re-enable AIX password setting
...
the AIX class uses a unsafe shell for setting the user password (containing a pipe in the command). This patch adopts to the new behavior of module_utils/basic.py (since somewhere around 1.7).
besides it changes the qoutes for the echo command from double to single, because password-hashes contain $-signs and one would not have this variables expanded.
2014-12-16 15:10:00 +01:00
Brian Coca
54b836f0b8
Merge pull request #89 from cchurch/win_feature_updates
...
Updates to win_feature module
2014-12-15 20:15:13 -05:00
Brian Coca
58bfebb047
Merge pull request #384 from jhawkesworth/win_copy_file_template_ansible_modules_core_1
...
Win copy/file/template modules (for ansible-modules-core)
2014-12-15 20:10:18 -05:00
Brian Coca
27dee77ca0
Merge pull request #84 from cchurch/win_user_updates
...
Updates for win_user module
2014-12-15 20:03:48 -05:00
Brian Coca
4cfc8d6950
Merge pull request #72 from stewrutledge/vmtemplate
...
Added support for deploying virtual machine from a virtual template
2014-12-15 20:01:54 -05:00
Toshio Kuratomi
f87afc090c
Merge pull request #158 from ajsalminen/git_dereference_annotated_tag
...
[git] Find the actual commit annotated tags refer to instead of the tag object.
2014-12-15 15:16:53 -08:00
Toshio Kuratomi
7af2d3f5f7
Merge pull request #92 from astorije/expand_user_git_key_file
...
Expand the user home folder in the key_file argument of the git module
2014-12-15 13:38:18 -08:00
Toshio Kuratomi
7350d2cc7f
Add error message from git to message returned from ansible
...
Fixes #81
2014-12-15 13:34:03 -08:00
Jeff Gonzalez
369eeb2666
Fixed formatting in documentation
...
The example was using mixed shorthand and long form yaml (region: "us-east-1 disable_rollback=true"
I modified the entire example to be long form.
2014-12-15 10:18:31 -06:00
Jeff Bradberry
28375aae7f
Fix breakage in lineinfile check mode when target file does not exist.
...
Similarly to https://github.com/ansible/ansible/issues/6182 , checking of the file attributes should be avoided in check mode when the file didn't originally exist.
Also, avoid creating parent directories in check mode.
Fixes https://github.com/ansible/ansible/issues/9546
2014-12-14 20:48:36 -05:00
Toshio Kuratomi
b0c94cd6f6
Merge pull request #281 from kustodian/postgresql_db_fix_for_python_24_checkmode
...
Fixed postgresql_db failing on Python 2.4 with --check
2014-12-14 13:43:44 -08:00
Michael Scherer
39cd64ec17
Revert commit cbc417c
, as the code is broken, see #438
...
LooseVersion expect a string, so filtering to return a int
is incorrect. Thanks to Jeremy Brown for the analysis.
2014-12-14 21:59:44 +01:00
sysadmin75
0fee1132ad
Fixes #9518 - "file state=directory" silently skips if it's currently a file
2014-12-13 15:14:32 -05:00
kustodian
07b98c45df
Fixed postgresql_db failing on Python 2.4 with --check
...
This reverts commit 81cbdb6c8c
and adds ignoring of the SystemExit exception because of Python 2.4.
2014-12-13 17:24:10 +01:00