Commit graph

9068 commits

Author SHA1 Message Date
James Tanner
2d478b1627 Implement new default cipher class AES256 2014-03-10 16:17:23 -05:00
James Tanner
a02641c020 Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:48 -05:00
James Cammarata
5bc6eafba5 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
2014-03-10 16:09:59 -05:00
James Cammarata
c920f78cc3 Fix range issue in inventory and add additional error checking
Fixes #6331
2014-03-10 15:59:00 -05:00
James Cammarata
ae1e9a3ec1 Properly wrap logical elements together for su/sudo detection 2014-03-10 15:58:55 -05:00
Andrew Resch
3fc8a83e79 Fix logic checking for both sudo and su, and their respective users 2014-03-10 15:58:48 -05:00
James Cammarata
27d52fd9cc Un-escape newlines in delimiters for assemble module 2014-03-10 15:58:43 -05:00
Brian Coca
8e7a384fcc tags lists are properly uniqued and joined now, also avoids type issues when passed as list/set or strings
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2014-03-10 15:55:57 -05:00
amree
fe07ebc801 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 2014-03-10 15:55:52 -05:00
James Cammarata
e215f564c5 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
2014-03-10 15:55:46 -05:00
aresch
52e809fcb7 Fix respecting remote_tmp when sudo is used 2014-03-10 15:55:40 -05:00
James Tanner
9ba1245a84 Fixes #6077 decode escaped newline characters in content for the copy module 2014-03-10 15:55:35 -05:00
James Tanner
76037168b1 Fixes #6298 and adds a sudo unit test for synchronize 2014-03-10 15:55:30 -05:00
Luca Berruti
118d24d171 fixes #6244 2014-03-10 15:55:25 -05:00
anatoly techtonik
9de3b035a6 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 2014-03-10 15:55:21 -05:00
Michael Scherer
f7c4668a4d Fix wrong module name for exception in nova compute
failed: [127.0.0.1] => {"failed": true, "parsed": false}
  invalid output was: Traceback (most recent call last):
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
      main()
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
      except exc.Unauthorized, e:
  NameError: global name 'exc' is not defined
2014-03-10 15:54:16 -05:00
Jim Kytola
dd3fa2aebe Removes pluralization of manager tag attribute. 2014-03-10 15:54:11 -05:00
Jesse Keating
b14932465d Avoid range selection on empty groups
This prevents a traceback when the group is empty.
Fixes #6258
2014-03-10 15:54:04 -05:00
James Cammarata
5341040c05 Adding a wait loop to ec2_elb for the initial lb state when registering
Fixes #5305
2014-03-10 15:53:59 -05:00
Hagai
b06f3e5dd6 Fix incorrect use of copy on list 2014-03-10 15:53:54 -05:00
Francesc Esplugas
14b4cb60d6 get rid of newline chars when reading password file 2014-03-10 15:53:47 -05:00
Tefnet
fbf500ba1f missing import in assert module
Fixed missing ansible.errors import in assert module
2014-03-10 15:53:39 -05:00
Serge van Ginderachter
c85081e9a9 Fixes templating of ansible_ssh_host for delegates 2014-03-10 15:53:36 -05:00
Pavel Antonov
53788e4c98 Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting 2014-03-10 15:53:25 -05:00
Iordan Iordanov
60055348ba Add support for checking host against global known host files. 2014-03-10 15:53:21 -05:00
jctanner
d3b452ecb1 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
2014-03-10 15:53:04 -05:00
James Cammarata
6221a2740f Updating files for new upstream release 1.5.0 2014-02-28 14:17:07 -06:00
Michael DeHaan
a8a9b6c545 Misc changelog updates. 2014-02-28 14:52:14 -05:00
Michael DeHaan
29f0d3fb53 Release codename placeholder :) 2014-02-28 14:27:28 -05:00
Michael DeHaan
a6b4b9a751 Show more whitespace throughout playbook examples to encourage better standards in first playbooks folks write. 2014-02-28 14:18:44 -05:00
Michael DeHaan
4b281ca5c7 Make the npm production parameter in the docs list the choices. 2014-02-28 14:00:00 -05:00
Michael DeHaan
6c43e0e010 Simplify file module parameter description. 2014-02-28 13:55:07 -05:00
Michael DeHaan
bbb88517ef Since the ec2 parameter is named 'key_name' and 'keypair' is just an alias, use
the primary name of the parameter in the examples.
2014-02-28 13:52:47 -05:00
Michael DeHaan
5443ddec75 Trim references to fireball as we want folks using accelerate or pipelining options. Fireball is pretty well deprecated at this point, but will still be part of the release. 2014-02-28 13:50:39 -05:00
James Cammarata
79645535c0 Handle empty results from failed connections in _remote_md5()
Fixes #5800
2014-02-28 12:50:03 -06:00
Michael DeHaan
2dbbf29421 Merge pull request #6076 from wshaddix/patch-1
Update intro_configuration.rst
2014-02-28 13:12:06 -05:00
Michael DeHaan
cd3edeedda Merge pull request #6224 from gildegoma/runner-connection-cleanup
Fully delete 'ssh_old' and 'paramiko_alt' options
2014-02-28 13:02:21 -05:00
Michael DeHaan
b2c8b8ba86 Merge pull request #6222 from csinchok/patch-1
Typo in rabbitmq_plugin docs
2014-02-28 12:59:28 -05:00
Michael DeHaan
9d3a344c06 Merge pull request #6223 from lvh/patch-2
Support ssh-ed25519 keys
2014-02-28 12:59:05 -05:00
Laurens Van Houtven
80e2c597a8 Support ssh-ed25519 keys
The newest version of OpenSSH supports a new, wonderful key type. authorized_key incorrectly discards pubkeys of this type as busted because it doesn't recognize type signature.
2014-02-28 18:46:54 +01:00
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
Chris Sinchok
796ac6d01c Typo in rabbitmq_plugin docs
Should be "plugins", not "users".
2014-02-28 11:38:11 -06:00
Gilles Cornu
04f6367172 Fully clean 'ssh_old' and 'paramiko_alt' options
These transports have been removed in 33857855ad
2014-02-28 18:28:04 +01: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