Commit graph

11982 commits

Author SHA1 Message Date
Matt Martz
55ed4489e3 Perform region validation early to be more explicit about invalid region failures 2014-09-02 09:17:40 -05:00
Chris Church
69e7999586 Merge pull request #8812 from trondhindenes/win_json_facts_setup_improvements
win_json_facts_setup_improvements; All changes referenced in PRs #8767 , #8768 , #8769
2014-08-29 15:53:42 -04:00
James Cammarata
4e3095877f Merge pull request #8791 from jrhe/aws_ec2_us-gov-west-1_region
Adds us-gov-west-1 aws ec2 region to cloud library
2014-08-29 09:34:09 -05:00
James Cammarata
606609ac53 Merge pull request #8804 from freshlikeesch/patch-1
Formation, Format, and Constiency
2014-08-29 09:33:01 -05:00
Trond Hindenes
72760f5999 All changes referenced in PRs #8767 , #8768 , #8769 :
This changes the get-attr function slightly, and lets the module specify whether a param is needed and auto-fails if it is not present. A module can now verify params like so::
 $params = Parse-Args $args;
 $result = New-Object psobject;
 Set-Attr $result "changed" $false;
 $path = Get-Attr -obj $params -name path -failifempty $true -resultobj $result

or

$params = Parse-Args $args;
 $result = New-Object psobject;
 Set-Attr $result "changed" $false;
 $path = Get-Attr -obj $params -name path -failifempty $true -emptyattributefailmessage "Oh man. You forgot the main part!" -resultobj $result

slight tweak in how the powershell module converts to json in order to support nested objects (allows for more complex facts, among others)

This script gathers some extended facts on windows hosts in a json array attribute called "ansible_interfaces". This info is needed for some network-related modules I'm working on. Required the update to powershell.ps1 to return deeply nested json objects.
2014-08-29 10:39:42 +02:00
James Cammarata
3bd1e4f8b5 CHANGELOG updates for new A10 modules 2014-08-28 20:32:21 -05:00
James Cammarata
dbc980eaf4 Merge branch 'mischapeters-devel' into devel 2014-08-28 20:31:00 -05:00
Chris Church
2ddab7affc Merge pull request #8793 from cchurch/powershell3_compat
Replace Get-FileHash with MD5 code that works on PowerShell 3.
2014-08-28 21:25:06 -04:00
James Cammarata
70ff6d35aa A10 module improvements
* moved common code to an module_util snippet
* rewrote logic to make each module idempotent
* added new capabilities like the write_config option
2014-08-28 20:23:48 -05:00
freshlikeesch
296d33d2d6 Formation, Format, and Constiency
There should be a period after "Various release-X.Y branches exist for previous releases". It should read "Various release-X.Y branches exist for previous releases." This should keep the Branch Info listings consistent.
2014-08-28 13:25:24 -04:00
Michael DeHaan
b7082677de Merge pull request #8790 from sivel/issue/8784
Don't use ternary if statements. Fixes #8784
2014-08-28 10:48:32 -04:00
James Cammarata
7fbdbcdec7 Default fetch_url to use TLSv1 instead of SSLv2/3 2014-08-28 08:45:01 -05:00
James Cammarata
ab495d1916 Set the shell variable on the ssh connection type for accelerated mode
Fixes #8799
2014-08-28 08:22:24 -05:00
James Cammarata
99ba9d6e24 Default fetch_url to use TLSv1 instead of SSLv2/3 2014-08-28 08:22:24 -05:00
Chris Church
0d1197a995 Replace Get-FileHash with MD5 code that works on PowerShell 3. 2014-08-28 01:42:22 -04:00
Jonathan Richard Henry Evans (JRHE)
62ef6d9a2b Adds us-gov-west-1 aws ec2 region to cloud library 2014-08-27 22:06:15 -04:00
Matt Martz
2b307985bc Don't use ternary if statements. Fixes #8784 2014-08-27 19:16:48 -05:00
Michael DeHaan
984d551257 Merge pull request #8761 from mwarkentin/patch-1
Fix typo: `active` -> `activate`
2014-08-27 18:37:14 -04:00
Michael DeHaan
3e4b7759e4 Update CHANGELOG.md 2014-08-27 18:26:29 -04:00
James Cammarata
90a42bb15a Merge branch 'devel' of https://github.com/mischapeters/ansible into mischapeters-devel 2014-08-27 13:03:37 -05:00
James Cammarata
f8a30faeee Merge branch 'default-omit-updated' into devel 2014-08-27 12:53:12 -05:00
James Cammarata
35dac66afa Adding docs for default+omit 2014-08-27 12:41:49 -05:00
James Cammarata
a6ad374668 Use split_args directly to check for omitted params 2014-08-27 11:51:03 -05:00
James Cammarata
04da466c7b Fixing up serialize_args utility function 2014-08-27 10:20:07 -05:00
James Cammarata
e99db078b4 Additional fixes for the new omit parameter variable 2014-08-27 10:06:55 -05:00
Victor Lin
6260635c65 add new test case 2014-08-27 10:05:10 -05:00
Victor Lin
fe88ba7c8d Undo changes to filter module 2014-08-27 10:04:47 -05:00
Victor Lin
559c04f324 Implement omit for module args, also add tests for it 2014-08-27 10:04:47 -05:00
Victor Lin
bce6642ab6 Implement default omit correctly 2014-08-27 10:03:07 -05:00
Victor Lin
0b4d7f1574 Implement default omit filter 2014-08-27 10:03:07 -05:00
James Cammarata
b6a30a7331 Merge branch 'gregswift-devel' into devel 2014-08-26 20:36:52 -05:00
James Cammarata
64a6ab5fff Removing unused name param for wait_for tcp draining classes
Also updates the version_added and other references to the version
in which the connection draining functionality was added.
2014-08-26 20:36:11 -05:00
James Cammarata
4716f47d57 Merge branch 'devel' of https://github.com/gregswift/ansible into gregswift-devel 2014-08-26 20:06:43 -05:00
James Cammarata
ed34cee36f Atomically move known hosts file into place for paramiko connections
Redo of original patch, which adds an additional check to ensure the
known_hosts file isn't trampled when host_key_checking is disabled.

Fixes #8169
2014-08-26 16:02:59 -05:00
James Cammarata
ca7d8b6355 Updating CHANGELOG for ec2_lc/_elb_lb module param additions 2014-08-26 13:54:27 -05:00
James Cammarata
36bd9efb70 Stop/remove existing docker container if the specified tag is different
Fixes #8278
2014-08-26 13:36:42 -05:00
James Cammarata
dc23d71e0a Merge branch 'botify-labs-feature/makes-ec2-lc-boto-iso-functional' into devel 2014-08-26 13:27:06 -05:00
Michael Warkentin
81dd7e9940 Fix typo: active -> activate 2014-08-26 14:19:18 -04:00
James Cammarata
fa3676b848 Merge branch 'feature/makes-ec2-lc-boto-iso-functional' of https://github.com/botify-labs/ansible into botify-labs-feature/makes-ec2-lc-boto-iso-functional 2014-08-26 13:00:17 -05:00
James Cammarata
75bd1fa97b Merge pull request #8757 from sivel/issue/8752
ansible-vault: The correct option is password_file. Fixes #8752
2014-08-26 11:49:02 -05:00
James Cammarata
8bd3c2104f Merge branch 'dataxu-elb-enhancements' into devel 2014-08-26 11:17:57 -05:00
James Cammarata
38eb5453b4 Add boto support checks for new ec2_elb_lb attribute fields
Also minor fixes like adjusting version_added fields, etc.
2014-08-26 10:58:25 -05:00
James Cammarata
adb00b9439 Merge branch 'elb-enhancements' of https://github.com/dataxu/ansible into dataxu-elb-enhancements 2014-08-26 10:05:34 -05:00
James Cammarata
d1d3394046 Docs updates to add examples for symbolic modes
Also fixes missing doc fragments missing in template and assemble
2014-08-26 09:09:08 -05:00
Matt Martz
206c201d87 The correct option is password_file. Fixes #8752 2014-08-26 09:02:47 -05:00
James Cammarata
811ff49f78 Updating CHANGELOG for new symbolic mode feature and updating file docs 2014-08-25 23:47:41 -05:00
James Cammarata
674c35bc8c Merge branch 'pbitty-file_symbolic_mode' into devel 2014-08-25 22:55:50 -05:00
James Cammarata
d99b835c3e Adding integration tests for symbolic modes 2014-08-25 21:54:17 -05:00
James Cammarata
c21c66c740 Merge branch 'file_symbolic_mode' of https://github.com/pbitty/ansible into pbitty-file_symbolic_mode 2014-08-25 19:38:44 -05:00
Peter Fry
35745aff22 Add support for volume encryption to ec2_vol
Fixes #7775
2014-08-25 16:21:28 -05:00