Commit Graph

12132 Commits (79a2e586fed0fc6cfe6ec2d2b4c080885c110b34)
 

Author SHA1 Message Date
Michael Scherer 53830123fd Make ssh debug easier to read and paste
Currently, ansible -vvvv show the following:

    hostname EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto',

This is not good if someone want to cut and paste it to see if something
is wrong with the command line, so join the dictionnary strings with spaces
to have 1 string in the output.
10 years ago
Kristofor Varhus fc0675889e fix typo in zypper module (requiered -> required) 10 years ago
Michael DeHaan 5a7cbdda7e Merge pull request #8873 from RichardBarrell/issue-8872
Issue 8872: use getpass.getpass() to read password.
10 years ago
James Cammarata 758a0bbeb7 Adding ignore_scripts option to the argument_spec for npm 10 years ago
James Cammarata cd99821f8a Fix py26 difference in ssl socket connect call from 99ba9d6 10 years ago
James Cammarata 14b8e2cf01 Make sure set_fact variables go into VARS_CACHE
Fixes #8758
10 years ago
Richard Barrell bed2eb36d3 Issue 8872: use getpass.getpass() to read password.
This avoids passing the plaintext raw password into the script as a
command-line argument, which shells such as bash and zsh will
typically log into a file like ~/bash_history.

As a small bonus, this works a LOT more smoothly if the user's
password has characters in it that either the shell or Python syntax
might like to interpret as metacharacters, like '\' or '"'.

getpass.getpass() is part of Python's standard library in all versions
between 2.4 and 3.3 at least.
10 years ago
Mike Dixon 4510f2e5a1 Fix #8666 for real
Commit 311ec543af ("If not specified, do not modify subnet/route_tables for ec2 VPCs") mostly fixed the problem, except that it left defaults for subnets and route_tables so that not specifying them still deleted them.
10 years ago
James Cammarata 893f15b30b Merge pull request #8856 from sivel/memcached-factcache-improvements
Memcached factcache improvements
10 years ago
James Cammarata c1ce64bd5d Merge pull request #8850 from michalgasek/run-once-docs-fix
docs: Add versionadded for run_once
10 years ago
James Cammarata cb2520a73a Merge pull request #8843 from resmo/fix/boilerplate
zabbix_maintenance: move to new boilerplate
10 years ago
Matt Martz 9bc9145abd Compress all data inserted into memcached to avoid memcached size limits 10 years ago
Matt Martz 2a4079eeb6 Update format fields to work with python2.6 10 years ago
James Cammarata b827f791e1 Merge pull request #8832 from sivel/rax-validate-regions
rax modules: Perform region validation early
10 years ago
James Cammarata 5b3c2097d8 Merge pull request #8831 from swindmill/devel
Add additional Azure Regions
10 years ago
James Cammarata bfad2a8c6b Merge branch 'tkellen-npm-ignore-scripts' into devel 10 years ago
James Cammarata dcc8d73935 Fixing new ignore scripts option logic and name for the npm module 10 years ago
James Cammarata 2a43dc2ddf Merge branch 'npm-ignore-scripts' of https://github.com/tkellen/ansible into tkellen-npm-ignore-scripts 10 years ago
James Cammarata f44957de5c Merge pull request #8818 from Erethon/devel
Handle exceptions during config file parsing
10 years ago
James Cammarata 35dfbff2e1 Merge pull request #8817 from meatballhat/support-sunos-certs-location
Supporting SSL cert location on SunOS (SmartOS, really)
10 years ago
James Cammarata 3367c0ab8e Merge pull request #8803 from stygstra/quantum_subnet-docs
Fix description on quantum_subnet module
10 years ago
James Cammarata 64cb88aa3b Merge pull request #8802 from garywu/patch-3
Update playbooks_variables.rst
10 years ago
James Cammarata 1880279bfe Tweaking logical assignment of vm_metadata in abiquo inventory script 10 years ago
James Cammarata eb8de9646c Merge pull request #8801 from danfaizer/devel
Corrected VM metadata obtention between Abiquo versions
10 years ago
James Cammarata 4698f85eac Merge pull request #8789 from retr0h/retr0h/add-role-path-to-role-file
Can override each role's install path
10 years ago
James Cammarata bee1f8f420 Merge pull request #8788 from eest/service-service_enable_rcconf-changed
service: use self.changed in service_enable_rcconf().
10 years ago
James Cammarata 570425d306 Merge pull request #8775 from AdmiralNemo/portage-changed-use
portage: Add support for --changed-use
10 years ago
James Cammarata 21ed2baadf Merge pull request #8773 from mrevilme/ec2_fix_instances_list
Always return a list even if its empty.
10 years ago
Matt Martz 55ed4489e3 Perform region validation early to be more explicit about invalid region failures 10 years ago
Kristofor Varhus acd37c87a9 zypper: handle lists of packages efficiently 10 years ago
Michal Gasek 11d5656fde docs: Add versionadded for run_once 10 years ago
Henry Finucane 9638ab973f Add integration test 10 years ago
Henry Finucane 36632c9529 Ensure ansible_job_id exists even for not-started jobs 10 years ago
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
10 years ago
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.
10 years ago
Rene Moser 20a3772d85 zabbix_maintenance: move to new boilerplate 10 years ago
Chris Church dac11904cb Add tests for new windows facts. 10 years ago
Chris Church b068155a43 Merge pull request #8833 from jhawkesworth/win_facts_powershell_version_and_winrm_cert_expiry_revised
Revised additions to windows facts
10 years ago
Jon Hawkesworth e4b80dd43c Added null check in case http connection used and no cert found. 10 years ago
Sterling Windmill 0c8576bdd2 add additional Azure Regions 10 years ago
Tyler Kellen 4c954ec417 add support for --ignore-scripts when using npm 10 years ago
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
10 years ago
Dionysis Grigoropoulos f948b4f293 Handle exceptions during config file parsing
Handle uncaught exceptions during config file parsing
10 years ago
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
10 years ago
Dan Buch 290f2759e1 Supporting SSL cert location on SunOS (SmartOS, really) 10 years ago
James Cammarata 606609ac53 Merge pull request #8804 from freshlikeesch/patch-1
Formation, Format, and Constiency
10 years ago
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.
10 years ago
James Cammarata 3bd1e4f8b5 CHANGELOG updates for new A10 modules 10 years ago
James Cammarata dbc980eaf4 Merge branch 'mischapeters-devel' into devel 10 years ago
Chris Church 2ddab7affc Merge pull request #8793 from cchurch/powershell3_compat
Replace Get-FileHash with MD5 code that works on PowerShell 3.
10 years ago