You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Trond Hindenes 9aa6c44473 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.
10 years ago
cloud Stop/remove existing docker container if the specified tag is different 10 years ago
commands Make command warnings off by default to minimize surprises. 10 years ago
database Merge pull request #8419 from georgeOsdDev/escape_underscore_in_database_name 10 years ago
files Docs updates to add examples for symbolic modes 10 years ago
internal Make async jid's unique per host 11 years ago
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 11 years ago
messaging Fix version_added for node in rabbitmq modules 11 years ago
monitoring Updating version_added. 10 years ago
net_infrastructure A10 module improvements 10 years ago
network For content-disposition response header field, try to parse filename parameter even if it's not quoted. 10 years ago
notification Bumping version_added for use_ssl param in irc module 10 years ago
packaging fixes #8626 by reverting 0d8b81cd 10 years ago
source_control Documentation simplification for git module parameter 10 years ago
system Add additional checks to detect upstart services 10 years ago
utilities Removing unused name param for wait_for tcp draining classes 10 years ago
web_infrastructure Merge branch '7736' of https://github.com/kcghost/ansible into kcghost-7736 10 years ago
windows All changes referenced in PRs #8767 , #8768 , #8769 : 10 years ago