Commit graph

9025 commits

Author SHA1 Message Date
James Cammarata 57486b268a Use the no-user-groups option (-N) for useradd in the user module
If no group was specified, but a group by the same name as the user
exists, an error was raised in the situation where USERGROUPS_ENAB is
enabled in /etc/login.defs (which is the case for almost every major
linux distro). In this case, the user will be put in group 100 (which
is usually the "users" group on those same distros). This is currently
only done in the base class, as the issue may not exist on other
platforms like AIX or the BSDs.

Fixes #6210
2014-02-28 11:46:27 -06:00
Richard Isaacson e798b558aa Merge pull request #6221 from risaacson/pull_6176
stat module: mode is now returned as an octal and md5 call can be skipped.
2014-02-28 11:07:59 -06:00
Richard C Isaacson f17e549ff9 Typo fix. 2014-02-28 11:02:58 -06:00
Richard C Isaacson 809b714bfc Replace mode with octal renaming to mode.
Closes GH-6176

This way for mode we return in an octal format which is immediately usable compared to transforming it later.
2014-02-28 10:42:20 -06:00
Richard Isaacson cca7fd3c0c Merge pull request #1 from bcoca/stat_updaates
added octal representation of mode and made md5 checksumming optional
2014-02-28 10:39:41 -06:00
Richard Isaacson 44da82c90f Merge pull request #6218 from risaacson/issues_6194
Copy Module: Add the ability to set directory attributes on recursive copy.
2014-02-28 10:14:04 -06:00
Richard C Isaacson 7b6c7366d1 Minor cleanup. 2014-02-28 10:04:05 -06:00
Richard C Isaacson 890202e4c0 copy module: cleanup and if directory_mode not set default to umask 2014-02-28 10:00:54 -06:00
James Tanner 9103bd92e2 Add note about ansible-vault to the changelog 2014-02-28 10:09:23 -05:00
James Tanner 960babd17d Add changelog note for docker-py 0.3.0 2014-02-28 10:07:42 -05:00
James Tanner 6cb21bac5f Update changelog for new yum module behavior 2014-02-28 10:03:41 -05:00
jctanner 42a2586dfa Merge pull request #6171 from joshuaconner/update_to_docker-py_0.3.0
docker: update to docker-py 0.3.0, plus full port binding support etc. from #5639
2014-02-28 08:31:56 -05:00
Richard C Isaacson cf4a6b39cc Copy Module: Add the ability to set directory attributes on recursive copy.
Closes GH-6194.

These changes pass attribute modifications through to new directories during a recursive copy with an addition allowing for the directory mode to be set independantly.
2014-02-28 01:14:32 -06:00
Michael DeHaan f95786b52d Merge pull request #6208 from jctanner/yum-rhn-fix
Fixes #6205 Add install_repoquery parameter to the yum module
2014-02-27 18:33:37 -05:00
Michael DeHaan 9a3891b65c Add vault documentation. 2014-02-27 18:00:02 -05:00
Michael DeHaan 1a6db5449a Document vault and make some cross-references in places where people should read about vault. 2014-02-27 17:44:21 -05:00
Michael DeHaan 5cae9807d9 Trim pipelining docs a bit. 2014-02-27 16:55:36 -05:00
James Cammarata df9de6ea71 Expand the source path in the action plugin when not using a remote source
Fixes #6209
2014-02-27 12:50:35 -06:00
James Tanner aeccbeeed2 add failsafe comment for install_repoquery 2014-02-27 13:42:05 -05:00
James Tanner 122a7021bc remove install_repoquery docstring 2014-02-27 13:29:15 -05:00
James Tanner 3f43fa529d Install yum-utils by default 2014-02-27 13:16:30 -05:00
James Tanner 58c78539bb Fix typo 2014-02-27 12:40:51 -05:00
James Tanner da210522f3 Fix up docstring type and extra info about list 2014-02-27 12:39:27 -05:00
James Tanner 79fb252dc9 Update docstring for rhn details 2014-02-27 12:34:53 -05:00
James Tanner f89e5315af Add install_repoquery parameter to the yum module 2014-02-27 12:18:25 -05:00
James Cammarata c11e2100e0 Save the original transport in runner after detecting the smart transport
Fixes #6192
2014-02-27 10:30:50 -06:00
Michael DeHaan 956eb91de0 Merge pull request #6198 from jlaska/integration_ec2
First pass at ec2 module tests
2014-02-27 10:44:37 -05:00
Michael DeHaan 829f959dce Merge pull request #6201 from cchurch/devel
Escape subversion parameters for running svn commands
2014-02-27 10:36:44 -05:00
Michael DeHaan cd7d7eb1bc Merge pull request #6202 from muffl0n/unarchive_destdir
unarchive: output dest in error-message
2014-02-27 10:36:10 -05:00
Richard Isaacson 73fa767a6b Added instance_tenancy functionality per social request. 2014-02-27 09:29:00 -06:00
muffl0n 17946b23d5 output dest in error-message 2014-02-27 13:29:26 +01:00
Chris Church adeea2c3f3 Added integration test for subversion parameters that need escaping. 2014-02-26 22:44:03 -05:00
Chris Church 5c2c29e71f Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 2014-02-26 22:23:26 -05:00
Richard Isaacson ccb64e6358 Merge pull request #6199 from risaacson/issues_5773
column must always be less than len(probline)
2014-02-26 16:32:18 -06:00
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
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 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