Commit graph

10587 commits

Author SHA1 Message Date
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
Richard C Isaacson
c6fbb0059b Some cleanup. 2014-03-10 10:31:08 -05:00
Michael DeHaan
678fb4ffbe Merge pull request #6368 from jjshoe/patch-1
Make this statement understandable grammatically
2014-03-10 10:24:16 -05:00
jjshoe
2ccbdd65c1 Make this statement understandable grammatically 2014-03-10 09:02:51 -05:00
Federico Feroldi
b9ab31ebd8 Fix for #6365: cloudformation module fails to update if stack exists 2014-03-10 13:11:09 +01:00
Charles Duffy
18f53d9219 #6341: use shared function for parsing systemd status; check rc code 2014-03-10 01:05:48 -05:00
Charles Duffy
d59973295d #6341: check systemd service status with show subcommand 2014-03-10 00:09:29 -05:00
Michael DeHaan
53fd5295dc Merge pull request #6351 from franckcuny/typo
Remove mention to AWS in Linode's inventory script.
2014-03-09 11:27:55 -05:00
Michael DeHaan
d636c93a9b Merge pull request #6352 from sethwoodworth/patch-1
Spelling correction in loop warning, removes unnecessary c
2014-03-09 11:27:11 -05:00
Jarno Keskikangas
37ef39d0fa Recognize rule changes even if ufw is in disabled state.
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
2014-03-09 12:56:52 +02:00
Jarno Keskikangas
4d5340587e Insert rule to a specific num. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
0247708199 Fix typo: 'reseted' -> 'reset'. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
2613e6fb14 Add protocol options 'esp' and 'ah'. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
f4e8a86c87 Add functionality and reduce complexity.
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
2014-03-09 12:56:51 +02:00
Aleksey Ovcharenko
651c04a3ec New module [ufw]: this module handles Ubuntu UFW operations
* Updated documentation related to IPv6 usage.

BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.

Added @otnateos patch.
2014-03-09 12:56:51 +02:00
Hagai
748e8a7740 Add a package to missing list if npm list reported it as invalid 2014-03-09 12:48:44 +02:00
Seth Woodworth
1d5db30067 Updates loop warning, removes unnecessary c 2014-03-09 00:19:28 -05:00
Franck Cuny
54b3262e71 Remove mention to AWS in Linode's inventory script. 2014-03-08 17:14:10 -08:00
James Cammarata
04a6dc6d12 Check for skipped tags in passed role variables before adding to them
Fixes #6330
2014-03-08 18:55:42 -06:00