Commit graph

9427 commits

Author SHA1 Message Date
Michael DeHaan
c09d4b1c7a Update apt module so that environment variables are set correctly since not going through shell. Very sorry folks, it will be addressed. 2014-03-11 08:39:28 -04:00
James Tanner
7f028c101c Fix changelog dates in ansible.spec 2014-03-10 21:37:34 -04:00
James Tanner
cc1537e4cc Remove remnant merge conflict lines from ansible.spec 2014-03-10 21:37:34 -04:00
Michael DeHaan
84f918d320 Merge pull request #6381 from franckcuny/doc-module-lang
Document the module_lang option.
2014-03-10 20:35:04 -05:00
Michael DeHaan
efdefe6c64 Merge pull request #6380 from sivel/best-practice-adhoc
ad-hoc doc fixes
2014-03-10 20:34:30 -05:00
James Tanner
6740a1f342 Wrap crypto.hash imports with try/except 2014-03-10 19:44:08 -04:00
Michael DeHaan
0f962dba14 Missing comma in argument spec. 2014-03-10 19:37:34 -04:00
Michael DeHaan
411bcb7161 Merge remote branch 'real/devel' into devel 2014-03-10 19:11:21 -04:00
James Tanner
7b6d5e7bbf Fix merge conflicts from 1.5.1 release notes 2014-03-10 18:55:17 -04:00
Richard C Isaacson
16c05cbc88 Update files for 1.5.1 release. 2014-03-10 17:40:36 -05:00
Franck Cuny
fb14b53130 Document the module_lang option.
Closes #6169.
2014-03-10 15:19:05 -07:00
Matt Martz
6607010b2b Fix ad-hoc command examples 2014-03-10 16:49:45 -05:00
Michael DeHaan
43203bac56 Update the message about pycrypto to include that python-devel must be installed. 2014-03-10 17:25:11 -04:00
Michael DeHaan
2fa6110961 Update the message about pycrypto to include that python-devel must be installed. 2014-03-10 17:23:37 -04:00
James Tanner
2d478b1627 Implement new default cipher class AES256 2014-03-10 16:17:23 -05:00
James Tanner
0d6f6ad282 Implement new default cipher class AES256 2014-03-10 16:15:44 -05:00
Michael DeHaan
20f0157152 Merge pull request #6378 from franckcuny/headers-gce-utils
Add BSD license to module_utils/gce.py
2014-03-10 16:14:51 -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 Tanner
ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -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
9730157525 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:06:52 -05:00
James Cammarata
6577ff5f85 Add tags from handlers to tag availability calculation 2014-03-10 16:06:13 -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
Richard Isaacson
4993cb57f4 Merge pull request #6283 from magicrobotmonkey/upstream
fix missing stdin in _parallel_runner

Tested with GIST https://gist.github.com/risaacson/7290d30a612e0c70ea1b.
Passes "make tests"
Passes non_destructive tests.
2014-03-10 14:38:56 -05:00
Franck Cuny
82f99bfa3d Add BSD license to module_utils/gce.py 2014-03-10 12:02:45 -07:00
Michael DeHaan
d9c22cd997 Merge pull request #6377 from sivel/issue/6348
Don't lstrip data to be parsed by parse_yaml. Fixes #6384
2014-03-10 13:51:14 -05:00
Matt Martz
4b400ca5e9 Only used stripped data for testing if the file is json, but used unstripped when actually parsing. Fixes #6348 2014-03-10 13:43:34 -05:00
Matthew Riedel
5875d19f4d Returning 'NA' when no virtualization found 2014-03-10 11:58:04 -04:00