Commit graph

9403 commits

Author SHA1 Message Date
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
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
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
Michael DeHaan
c79b5ea4b4 Merge pull request #6344 from alimony/patch-1
Touch up documentation strings for DigitalOcean.
2014-03-08 18:41:48 -06:00
Michael DeHaan
734a16afb4 Merge pull request #6347 from dwheaton/patch-1
Update playbooks_variables.rst
2014-03-08 18:32:26 -06:00
David Wheaton
00ed2b811f Update playbooks_variables.rst
incorrect/confusing wording in Jinja2 note?
2014-03-08 13:53:16 -08:00
Michael DeHaan
5f3ea7512f Merge pull request #6343 from dolph/devel
spelling correction for "separate"
2014-03-08 07:39:34 -06:00
Markus Amalthea Magnuson
3f681ebc52 Touch up documentation strings for DigitalOcean. 2014-03-08 12:40:45 +01:00
Dolph Mathews
8808e029f9 spelling correction for "separate"
s/seperate/separate/

http://en.wiktionary.org/wiki/separate
2014-03-08 04:51:34 -06:00
Richard C Isaacson
aba86e3657 Cleaning up pep8 alerts. 2014-03-07 23:06:19 -06:00
Richard C Isaacson
f3c1177265 Documentation cleanup. 2014-03-07 23:04:56 -06:00
Richard C Isaacson
7686204b43 Refactored a few things to be more inline with the Ansible way. Passing testing. 2014-03-07 23:04:07 -06:00