Commit graph

12460 commits

Author SHA1 Message Date
James Cammarata
4698f85eac Merge pull request #8789 from retr0h/retr0h/add-role-path-to-role-file
Can override each role's install path
2014-09-02 10:44:44 -05:00
James Cammarata
bee1f8f420 Merge pull request #8788 from eest/service-service_enable_rcconf-changed
service: use self.changed in service_enable_rcconf().
2014-09-02 10:29:41 -05:00
James Cammarata
570425d306 Merge pull request #8775 from AdmiralNemo/portage-changed-use
portage: Add support for --changed-use
2014-09-02 10:15:27 -05:00
James Cammarata
21ed2baadf Merge pull request #8773 from mrevilme/ec2_fix_instances_list
Always return a list even if its empty.
2014-09-02 10:02:06 -05:00
Matt Martz
55ed4489e3 Perform region validation early to be more explicit about invalid region failures 2014-09-02 09:17:40 -05:00
Kristofor Varhus
acd37c87a9 zypper: handle lists of packages efficiently 2014-09-02 09:38:30 -04:00
Michal Gasek
11d5656fde docs: Add versionadded for run_once 2014-09-02 11:42:32 +02:00
Henry Finucane
9638ab973f Add integration test 2014-09-01 16:31:37 -07:00
Henry Finucane
36632c9529 Ensure ansible_job_id exists even for not-started jobs 2014-09-01 16:31:37 -07:00
Chris Church
a0635ebb0d Merge pull request #8847 from jhawkesworth/win_facts_use_cert_from_winrm_configuration
window facts. Select certificate to check for expiry from winrm configuration
2014-09-01 17:43:02 -04:00
Jon Hawkesworth
a57b6ccf46 This change selects the certificate from the winrm configuration and attempts to find the expiry date from that.
Trond Hindenes pointed out that simply picking the first certificate from local computer certs is not guaranteed to select the correct certificate.
2014-09-01 21:22:18 +01:00
Oleg Bulatov
a7d38702d9 Fix #7711
Fix relative symlinks creation in file module

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
2014-09-01 23:23:36 +04:00
Rene Moser
20a3772d85 zabbix_maintenance: move to new boilerplate 2014-09-01 20:13:34 +02:00
Chris Church
dac11904cb Add tests for new windows facts. 2014-08-31 11:52:20 -04:00
Chris Church
b068155a43 Merge pull request #8833 from jhawkesworth/win_facts_powershell_version_and_winrm_cert_expiry_revised
Revised additions to windows facts
2014-08-31 11:49:34 -04:00
Jon Hawkesworth
e4b80dd43c Added null check in case http connection used and no cert found. 2014-08-31 16:20:50 +01:00
Sterling Windmill
0c8576bdd2 add additional Azure Regions 2014-08-31 09:15:46 -04:00
Tyler Kellen
4c954ec417 add support for --ignore-scripts when using npm 2014-08-29 16:06:10 -04: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
Dionysis Grigoropoulos
f948b4f293 Handle exceptions during config file parsing
Handle uncaught exceptions during config file parsing
2014-08-29 17:55:42 +03: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
Dan Buch
290f2759e1 Supporting SSL cert location on SunOS (SmartOS, really) 2014-08-29 10:33:14 -04: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
David Stygstra
9ae97a7754 Fix description on quantum_subnet module 2014-08-28 10:43:00 -04:00
Gary Wu
b0c4897196 Update playbooks_variables.rst 2014-08-28 09:39:14 -05:00
Daniel
f8104df457 Corrected VM metadata obtention between Abiquo versions 2014-08-28 16:22:06 +02: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
John Dewey
44b0ee5322 Can override each role's install path
Defaults to the system wide `roles-path` when `path` is not specified in the
provided `role-file`.  An example installing nginx to a relative path specified
by the `role-file`.

    - src: https://github.com/bennojoy/nginx
      path: vagrant/roles/
2014-08-27 16:43:39 -07:00
Patrik Lundin
e65ca6876f service: use self.changed in service_enable_rcconf().
This sets the "changed" result of the module when a rc file is modified.
Previously only --check mode would show that it was going to change.
2014-08-28 00:52:23 +02: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